Use r10k to install puppetlabs-stdlib instead of rspec