Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
## userdel aj@junglist /tmp$ sudo userdel -r test userdel: user test does not exist ## test manifest aj@junglist /tmp$ cat test.pp #!/usr/bin/env puppet user { "test": ensure => present, password => "\$1\$tk/LUgfO\$CpOAYcbby0uiaSzPqREk4/", uid => 999, gid => 110; } ## puppet run aj@junglist /tmp$ sudo ./test.pp --debug info: Loading fact configured_ntp_servers info: Loading fact netmask info: Loading fact dmidecode info: Loading fact acpi_available info: Loading fact interfaces #<Puppet::TransObject:0xb7748558 @type="user", @file="/tmp/./test.pp", @tags=["user", "test", "class", "main"], @params={"gid"=>"110", "uid"=>"999", "ensure"=>"present", "password"=>"$1$tk/LUgfO$CpOAYcbby0uiaSzPqREk4/"}, @name="test", @line=9> debug: file pw does not exist debug: file /usr/bin/dscl does not exist debug: file nireport does not exist debug: true value when expecting false #<Puppet::TransObject:0xb772e5b8 @type="class", @file=nil, @tags=["class", "main"], @params={}, @name=:main, @line=nil> debug: Creating default schedules debug: Failed to load library 'ldap' for feature 'ldap' debug: //User[test]: Changing ensure debug: //User[test]: 1 change(s) debug: User[test](provider=useradd): Executing '/usr/sbin/useradd -p $1$tk/LUgfO$CpOAYcbby0uiaSzPqREk4/ -u 999 -g 110 test' notice: //User[test]/ensure: created debug: Finishing transaction -608781168 with 1 changes
This paste will be private.
From the Design Piracy series on my blog: