Displaying 20 results from an estimated 5000 matches similar to: "User Modification"
2009 Dec 07
4
Require Module before Resource Type
How do I make sure a module is loaded before puppet requests a
specific resource type. For example,
node ''test'' {
include cron
cron { "my-test-cron":
}
}
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from
2009 Nov 16
4
Installing Packages from puppet files
Hi, I''m a puppet newbie. Is there a way to install an rpm from the
files served by the puppet master? If so, what am I doing wrong (see
below)? If this isn''t possible, how should I be installing custom
rpms?
package { "MySQL-server-community":
source => "puppet:///files/MySQL-server-
community-5.1.40-0.rhel5.i386.rpm"
}
Thanks in
2009 Sep 04
1
ssh_authorized_key always ensure absent even it's present
puppet version 0.24.8 from debian lenny-backports
My class works and resource created the authorized_keys file.
But puppet detect as ensure absent and added again and again
my authorized_keys got fews the same key lines.
I added the target => ''/home/test/.ssh/authorized_keys'',
again ensure is absent.
I replace the ssh_authorized_key.rb from 0.25rc1
and again ensure is
2007 Dec 11
2
Patch 10463: has_many through using uniq does not honor order
Hi,
I''ve just submitted a patch for ActiveRecord;
http://dev.rubyonrails.org/ticket/10463
The patch includes new fixtures because I could not find a applicable
combination among the existing fixtures. I hope that''s okee.
Please +1 or comment it.
Thanks,
Remco
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
2009 Oct 22
2
useradd: invalid numeric argument 'someuser'
CentOS 5.3 w/ updates
Puppet 0.25.1.rc2 (installed from source)
Mongrel + Nginx
Am I making a mistake or is this a bug? I''ve experienced this issue
using 0.24.8 from EPEL also.
Thu Oct 22 13:59:43 -0700 2009 //user::virtual-users_groups/User
[someuser]/ensure (err): change from absent to present failed: Could
not create user someuser: Execution of ''/usr/sbin/useradd -G
2009 Dec 04
3
yumrepo is missing name attribute in repo files using puppet-0.24.8-4.el5
I''m using puppet-0.24.8-4.el5 on CentOS 5.4.
My problem is yumrepo isn''t writing the "name=" field to the
repository files which causes yum to complain with the error:
Repository ''local-CentOS-5.4-x86_64'' is missing name in configuration,
using id
I get this behavior on all of my yumrepo definitions. One of them
looks like this:
yumrepo {
2009 Aug 16
3
userdel without -r switch
Hi
how do I tell with user type to use userdel with -r short of using exec type?
i have a user account called `foo''
so i created a test puppet file local to the system called test.pp
# cat test.pp
user {"foo":
ensure => absent,
managehome => true,
}
when I apply it on solaris or linux the userdel does not use the `-r'' switch
2010 Jul 29
5
Multiple repositories under one file
Hello All,
In all the examples that I see you configure one repo per file;
i.e:
yumrepo { "testing.com-repo":
baseurl => "http://repos.testing.com/fedora/$lsbdistrelease/",
descr => "Testing.com''s YUM repository",
enabled => 1,
gpgcheck => 0,
}
But how do I specify multiple entries to the same file?. For
instance, I just one to have one
2005 Apr 18
3
RBAC?
hi all,
I posted this earlier:
are there any RBAC (role based access control) efforts in rails? code
to support? external, open source project(s)? etc?
any help much appreciated, if none exists we''ll build it and anyone who
wants to help is welcome :)
_alex
--
alex black, founder
the turing studio, inc.
510.666.0074
root-16h2cdTTKgpzNNFeSAH1EA@public.gmane.org
2013 Apr 05
2
Flush provider - Differentiating between new resource and modification?
Morning all
I''m working on converting some of my NetApp providers to prefetch/flush
style to try and optimize performance.
I''ve hit an issue on my Netapp_user provider, around handling resource
creation versus resource modification?
What''s the easiest way to differentiate?
Current code is here:
2008 Feb 20
2
purging unmanaged cron
Should this work?
# --- remove any cronjobs that are not managed by puppet.
resources { "cron": purge => true }
I get the following error.
Resources[cron]: Failed to generate additional resources: You must
specify a title for objects of type Puppet::Type::Cron
Ben
2010 Feb 26
3
ssh_authorized_key - same key, different accounts?
Puppet 0.24.8... I am trying to use ssh_authorized_key to create
passwordless logins for a couple of accounts. The important thing to
note is I''m trying to get the source ("root@somehost" below) as part of
the key, and the same key needs to be added to two different accounts on
the system.
It appears that the resource name is the only place I can set the
originating source
2009 Apr 07
3
Speed bumps on the way to successfully running puppetmasterd on Mac OSX Leopard, try one and two
Hey all,
I have recorded my steps towards getting puppet functional
through one of the four different methods that I can think of, which
are:
1.Source(copying and insatlling to the recommended unix FSH
directory, /usr/local/src)
2.pkg hosted at explanatorygap
3.MacPorts
4.RubyGems
I haven''t cleanly tested the last two, but here''s where I am with the
first two:
1. I
2010 Nov 10
4
Custom facts in current and old environments
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hello,
I read that there is several problems about custom facts on this list.
However, none is serving my task exactly so I start another. (Topic
»custom facts in legacy puppet 0.24.[89]« is the might be the same issue
but that gets no answer.)
My problem is that I have to serve clients with different versions of
puppet. The systems running ubuntu
2011 Oct 06
4
Mean(s) from values in different row?
Hello:
Is there a way to get a mean from values stored in different rows?
The data looks like this:
YEAR-1, JAN, FEB, ..., DEC
YEAR-2, JAN, FEB, ..., DEC
YEAR-3, JAN, FEB, ..., DEC
What I want is the mean(s) for just the consecutive winter months:
YEAR-1.DEC, YEAR-2.JAN, YEAR-2.FEB
YEAR-2.DEC, YEAR-3.JAN, YEAR-3.FEB
etc.
Thanks.
2012 Mar 14
10
permission denied errors on /var/lib/puppet stuff during puppetd -t
I''m suddenly getting the below errors from Rack during puppetd -t
(excerpted from the pink HTML output and cleaned for readability):
Could not prepare for execution: Got 10 failure(s) while initializing:
change from absent to directory failed: Could not set ''directory on ensure:
Permission denied - /var/lib/puppet/yaml;
change from absent to directory failed: Could not set
2010 Dec 13
2
rpart.object help
Hi,
Suppose i have generated an object using the following :
fit <- rpart(Kyphosis ~ Age + Number + Start, data=kyphosis)
And when i print fit, i get the following :
n= 81
node), split, n, loss, yval, (yprob)
* denotes terminal node
1) root 81 17 absent (0.7901235 0.2098765)
2) Start>=8.5 62 6 absent (0.9032258 0.0967742)
4) Start>=14.5 29 0 absent (1.0000000
2008 Jun 06
8
useradd provider not working?
I have this config:
# BL00070 - Disable NFS
service {["nfs","nfslock","netfs","portmap"]:
ensure => stopped,
enable => false,
}
user {"rpc": ensure => absent, provider => "useradd" }
user {"rpcuser": ensure => absent, provider => "useradd" }
file
2009 Feb 06
1
Darned thing is suddenly failing. We had a reboot last night, and I
changed a couple of files today too, so either one could somehow be
responsible. But I can''t figure out how from this crash. First I noticed
that my changes weren''t updating. Then I noticed that puppet wasn''t
running. Then I found that it won''t, in fact, run.
/selinux contains only a
2007 Jan 25
3
Usability concern with overrides
I''ve been tinkering around with managing users and am concerned with the
overall administrative usability of the inheritance overrides.
For instance, the user games:
redhat_base:
user { games: ensure => present }
local_site inherits redhat_base:
User[games] { ensure => absent }
This is fine, but imagine a few levels of nesting later with an admin that
wants to ensure that a