Hi,
I created few puppet modules that pulls some Ruby code from various repos.
All modules are identical:
class {
vcsrepo { '/var/hg/repos/':
ensure => present,
provider => hg,
source =>
'ssh://user@servername//var/hg/repos/.',
Hi,
I am using Puppet MySQL module from forge and everything works as expected.
It downloaded and installed mysql, created database, set pass, etc.
I wanted to make few configuration changes, so I changed
mysql/templates/my.cnf.erb
but it seems Puppet did not detected that change. What be the
Thanks for feedback once more. I will try it as well then...
Best regards,
Dušan
On Fri, May 24, 2013 at 11:20 AM, Brian Lalor wrote:
> On May 24, 2013, at 6:14 AM, Dusan Dordevic <
> dusan.dorde...@clavistechnology.com> wrote:
>
> My problem is following, if I want to
Hi,
Yes, I know about vcsrepo module and that part is not a problem. It is
fairly easy to set it up and pull release from repository.
My problem is following, if I want to manage /etc/mysql/my.cnf and other
config files, that means I would need to make repository in / which I am
not really happy
Hi,
I want to manage some configuration files (let's say my.cnf) using Puppet.
I want to keep that file in some version control repository and developers
will have access to it. Once they change it, Puppet should pull it, put it
in place on server and restart service.
Is there any general gui
which the user is also a member of. Each
> group is separated from the next by a comma, with no intervening
> whitespace. The groups are subject to the same restrictions as the group
> given with the -g option. The default is for the user to belong only to the
> initial group.
>
> “S
ppetclient2]/Group[clavis]/ensure: created
err: /Stage[main]//Node[puppetclient2]/User[clavis]/ensure: change from
absent to present failed: Could not create user clavis: Execution of
'/usr/sbin/useradd -d /home/clavis -s /bin/bash -G clavis -m clavis'
returned 9: useradd: group clavis exists -
Hi,
Thanks for responses. I added piece of code that will create home dir. Code
now looks like this:
file { "/home/clavis":
ensure => "directory",
owner => "clavis",
group => "clavis",
mode => 700,
require => [ User[clavis], Group[clavis] ],
}
Hi,
I am trying to create user on Ubuntu using this code:
user { "clavis":
ensure => "present",
home => "/home/clavis",
name => "clavis",
shell => "/bin/bash",
managehome => true,
groups => 'cl
Hi,
(Since I am relatively new to Puppet, this might be some trivial problem)
I am trying to create a user with Puppet, using following code:
user { "clavis":
ensure => "present",
home => "/home/clavis",
name => "clavis",
sh
10 matches
Mail list logo