summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2010-04-14 18:46:52 +1000
committerJames Turnbull <james@lovedthanlost.net>2010-04-17 18:11:36 +1000
commitf351e2dcf0c133c7e800f09f9a6f65146d856bde (patch)
tree5d4f4922943d3240a3f8e686f35c6ee96e02e434 /spec
parentcf7e6967632ba3f1d3b7ae21ccaf5daed9cec6e7 (diff)
Renamed all references to Reductive Labs to Puppet Labs
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/application/filebucket.rb4
-rwxr-xr-xspec/unit/application/puppetd.rb4
-rwxr-xr-xspec/unit/parser/ast/leaf.rb4
-rwxr-xr-xspec/unit/provider/ssh_authorized_key/parsed.rb2
4 files changed, 7 insertions, 7 deletions
diff --git a/spec/unit/application/filebucket.rb b/spec/unit/application/filebucket.rb
index e87bab402..c0a6dcc7f 100644
--- a/spec/unit/application/filebucket.rb
+++ b/spec/unit/application/filebucket.rb
@@ -124,9 +124,9 @@ describe "Filebucket" do
describe "with remote bucket" do
it "should create a remote Client to the configured server" do
- Puppet.stubs(:[]).with(:server).returns("puppet.reductivelabs.com")
+ Puppet.stubs(:[]).with(:server).returns("puppet.puppetlabs.com")
- Puppet::Network::Client::Dipper.expects(:new).with { |h| h[:Server] == "puppet.reductivelabs.com" }
+ Puppet::Network::Client::Dipper.expects(:new).with { |h| h[:Server] == "puppet.puppetlabs.com" }
@filebucket.run_setup
end
diff --git a/spec/unit/application/puppetd.rb b/spec/unit/application/puppetd.rb
index 0f7257e59..88772b2f1 100755
--- a/spec/unit/application/puppetd.rb
+++ b/spec/unit/application/puppetd.rb
@@ -275,10 +275,10 @@ describe "puppetd" do
it "should set a central log destination with --centrallogs" do
@puppetd.options.stubs(:[]).with(:centrallogs).returns(true)
- Puppet.stubs(:[]).with(:server).returns("puppet.reductivelabs.com")
+ Puppet.stubs(:[]).with(:server).returns("puppet.puppetlabs.com")
Puppet::Util::Log.stubs(:newdestination).with(:syslog)
- Puppet::Util::Log.expects(:newdestination).with("puppet.reductivelabs.com")
+ Puppet::Util::Log.expects(:newdestination).with("puppet.puppetlabs.com")
@puppetd.run_setup
end
diff --git a/spec/unit/parser/ast/leaf.rb b/spec/unit/parser/ast/leaf.rb
index 62ebc2ab1..5e7516b1d 100755
--- a/spec/unit/parser/ast/leaf.rb
+++ b/spec/unit/parser/ast/leaf.rb
@@ -233,8 +233,8 @@ describe Puppet::Parser::AST::HostName do
end
it "should return a string usable as a tag when calling to_classname" do
- host = Puppet::Parser::AST::HostName.new( :value => Puppet::Parser::AST::Regex.new(:value => "/.+.reductivelabs\.com/") )
- host.to_classname.should == "reductivelabs.com"
+ host = Puppet::Parser::AST::HostName.new( :value => Puppet::Parser::AST::Regex.new(:value => "/.+.puppetlabs\.com/") )
+ host.to_classname.should == "puppetlabs.com"
end
it "should delegate 'match' to the underlying value if it is an HostName" do
diff --git a/spec/unit/provider/ssh_authorized_key/parsed.rb b/spec/unit/provider/ssh_authorized_key/parsed.rb
index 9abcda54f..d5c66d7b0 100755
--- a/spec/unit/provider/ssh_authorized_key/parsed.rb
+++ b/spec/unit/provider/ssh_authorized_key/parsed.rb
@@ -73,7 +73,7 @@ describe provider_class do
end
it "'s parse_options method should be able to parse options containing commas" do
- options = %w{from="host1.reductlivelabs.com,host.reductivelabs.com" command="/usr/local/bin/run" ssh-pty}
+ options = %w{from="host1.reductlivelabs.com,host.puppetlabs.com" command="/usr/local/bin/run" ssh-pty}
optionstr = options.join(", ")
@provider.parse_options(optionstr).should == options