I read in puppet that resources can also be declared using Resource[] syntax in manifest. I wrote below manifest but it is giving error
Error: Could not parse for environment production: Syntax error at 'NO'; expected '}' at /etc/puppet/manifests/no.pp:3 on node pk-docker-01.cs1cloud.internal
Error: Could not parse for environment production: Syntax error at 'NO'; expected '}' at /etc/puppet/manifests/no.pp:3 on node pk-docker-01.cs1cloud.internal
file { '/var/NO/tmp' : ensure => directory,
}
Resource[User] {"NO":
ensure => present ,
password => 'admin@123',
}
group { no :
ensure => present ,
}
Thanks