jyotir bhandari
2014-Jan-20 03:52 UTC
[Puppet Users] Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError:
Hi I am getting error when i try to add system user including fields mentioned in system_user.pp, if I manually mention all the fields in init.pp, it just works fine. [root@server accounts]# pwd /etc/puppet/modules/accounts [root@server accounts]# tree . `-- manifests |-- init.pp `-- system_users.pp 1 directory, 2 files *init.pp* class accounts { @accounts::system { 'demo': comment => 'demo users', password => 'fndjsafjdashbjfsdhj', } } *system_users.pp* define accounts::system ($comment,$password){ user { $title: ensure => 'present', shell => '/bin/bash', managehome => true, comment => $comment, password => $password, } } Jyotir -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/b0655764-7abb-481b-a49a-cd2410b8bc20%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.