Skip to content

Instantly share code, notes, and snippets.

@ryanycoleman
Created January 18, 2012 19:03
Show Gist options
  • Save ryanycoleman/1634941 to your computer and use it in GitHub Desktop.
Save ryanycoleman/1634941 to your computer and use it in GitHub Desktop.
mco puppetral
peadmin@training:~$ mco rpc puppetral create type=user title=elmo ensure=present
Determining the amount of hosts matching filter for 2 seconds .... 1
* [ ============================================================> ] 1 / 1
training.puppetlabs.lan
Status: Resource was created
Resource: {"exported"=>false,
"title"=>"elmo",
"parameters"=>{:ensure=>:absent},
"tags"=>["user", "elmo"],
"type"=>"User"}
Finished processing 1 / 1 hosts in 574.67 ms
peadmin@training:~$
@ryanycoleman
Copy link
Author

I would expect the command to create the user, but it doesn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment