Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
# cat grp.pp group { "foo": gid => 2000 } # puppet grp.pp err: //Group[foo]/ensure: change from absent to present failed: Could not set present on ensure: undefined method `allowdupe?' for #<Puppet::Type::Group:0x2aaaabd2d090> at /tmp/grp.pp:1 # < after edit > # puppet grp.pp notice: //Group[foo]/ensure: defined 'ensure' as 'present' # diff -c /usr/lib/ruby/site_ruby/1.8/puppet/type/group.rb /usr/lib/ruby/site_ruby/1.8/puppet/type/group.rb.old *** /usr/lib/ruby/site_ruby/1.8/puppet/type/group.rb 2008-07-08 22:06:43.000000000 -0400 --- /usr/lib/ruby/site_ruby/1.8/puppet/type/group.rb.old 2008-07-07 22:52:21.000000000 -0400 *************** *** 110,116 **** isnamevar end ! newparam(:allowdupe, :boolean => true) do desc "Whether to allow duplicate GIDs. This option does not work on FreeBSD (contract to the ``pw`` man page)." --- 110,116 ---- isnamevar end ! newparam(:allowdupe) do desc "Whether to allow duplicate GIDs. This option does not work on FreeBSD (contract to the ``pw`` man page)."
This paste will be private.
From the Design Piracy series on my blog: