Hi,
We use puppet to manage our ssh accounts and I want to extract this data
into a database or other format. It there an existing way to extract
this data without writing a parser to read the files? Here is an example
of what we have.
Thanks,
Pete
class users::vsdba {
@group { "sdba":
ensure => present,
gid => 12345,
}
@user { "xxxxx":
ensure => present,
uid => 12346,
gid => 12345,
groups => ["sdba"],
password => 'xxxxxxxxxxxxxxxxxxxxxxxxx',
comment => 'xxxxxxxxxx',
managehome => true,
shell => "/bin/bash",
}
@user { "yyyyy":
ensure => present,
uid => 12347,
gid => 12345,
groups => ["sdba"],
password => 'xxxxxxxxxxxxxxxxxxxxxxxxx',
comment => 'xxxxxxxxxx',
managehome => true,
shell => "/bin/bash",
}
}
class users::sdba inherits users::vsdba {
realize(
Group["sdba"],
User["xxxxx"],
User["yyyyy"]
)
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---