Difference between revisions of "Puppet apply my first puppet example.pp"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
  my_first_puppet_example.pp
 
  my_first_puppet_example.pp
<pre>
+
 
file {'/tmp/my-example-ip':                                           
+
<pre>
  content => "hello world!",   
+
file {'/tmp/my-example-ip':                                           
}
+
  content => "hello world!",   
</pre>
+
}
 +
</pre>
  
 
  [[puppet apply]] my_first_puppet_example.pp
 
  [[puppet apply]] my_first_puppet_example.pp

Revision as of 13:19, 19 July 2021


my_first_puppet_example.pp
file {'/tmp/my-example-ip':                                           
  content => "hello world!",  
}
puppet apply my_first_puppet_example.pp
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
/usr/lib/ruby/vendor_ruby/puppet/util.rb:315: warning: deprecated Object#=~ is called on Puppet::Transaction::Report; it always returns nil
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
Notice: Compiled catalog for kk in environment production in 0.02 seconds
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
/usr/lib/ruby/vendor_ruby/puppet/util.rb:315: warning: deprecated Object#=~ is called on Puppet::Transaction::Report; it always returns nil
/usr/lib/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:126: warning: $SAFE will become a normal global variable in Ruby 3.0
Notice: /Stage[main]/Main/File[/tmp/my-example-ip]/ensure: defined content as '{md5}fc3ff98e8c6a0d3087d515c0473f8677'
/usr/lib/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:126: warning: $SAFE will become a normal global variable in Ruby 3.0
Notice: Applied catalog in 0.03 seconds
/usr/lib/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:126: warning: $SAFE will become a normal global variable in Ruby 3.0
/usr/lib/ruby/vendor_ruby/puppet/util.rb:315: warning: deprecated Object#=~ is called on Puppet::Transaction::Report; it always returns nil
/usr/lib/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:126: warning: $SAFE will become a normal global variable in Ruby 3.0


See also

Advertising: