Displaying 20 results from an estimated 400 matches similar to: "freeBSD User provider"
2011 Dec 10
5
create user and push out keys.
Hello
Im just been working with puppet, the first usecase i have is to set
up a system to create users and then push ssh keys on this machines in
the create users .ssh files. I just started with puppet so i am a bit
cluesless, Can someone push me in the right direction?
Im having a centos enviorment.
--
You received this message because you are subscribed to the Google Groups "Puppet
2009 Apr 21
1
realizing virtual ssh_authorized_key
I''m trying to use ssh_authorized_key to manage my user''s ssh keys. I
basically have this (across a couple of files):
class user::virtual {
@user { "seph":
ensure => "present",
uid => "2001",
comment => "seph",
home => "/home/seph",
shell =>
2011 Nov 29
1
How do I require a resource in a definition based on an array parameter?
I have a define that looks like this:
define user::sys_user($fullname, $uid, $groups, $shell=''/bin/bash'',
$authkey, $authkey_type=rsa) {
$username = "sys_${name}"
group { $username:
gid => $uid,
}
user { $username:
require => Group[$username],
ensure => present,
2009 Aug 04
3
Managing about 30 users?
I have about 30 dev. and operation users on my machines, is there a
recipe anywhere for doing this? The best practices doc on the wiki is
incomplete and confusing.
Also, any workaround for the ssh_authorized_key bug in 24.8? All I
really want to do is create users, home directories and put ssh keys
in them, but it tries to add the keys first, so it doesn''t work.
2009 Sep 18
5
Using variables in virtual resources
Hi.
I''ve defined a virtual user "kenneth", and depending on a variable in the
node definiton I''d like to add the users to different groups. Consider this
example:
###### Code start
node "server.example.com" {
$server_type = "typeA"
realize User[kenneth]
}
@user {"kenneth":
ensure => present,
uid => 1000,
2006 Nov 02
6
certificate not trusted
Hello,
I try to install puppet on freebsd 6.X. All is well but i cannot get
the certificte to install and be recognized. I run .19.3.
I run the puppetd --test --waitforcert 60
then sign
and then i got:
err: No certificate; running with reduced functionality.
info: Creating a new SSL key at
/usr/local/.aqadmin/puppet/conf/ssl/private_keys/xxxxxxxxxxxxxx.pem
info: Creating a new certificate
2007 Dec 24
5
could not find user puppet ?
err:
/Settings[top]/Settings[main]/File[/usr/local/.aqadmin/puppet/var/yaml]:
Failed to retrieve current state of resource: Could not find user puppet
debug: Finishing transaction 75413780 with 2 changes
since i put the last version on this test server i cannot launch puppet
manualy:
mkdir -m 700 -p /usr/local/.aqadmin/puppet/conf/ssl; \
mkdir -m 700 -p /usr/local/.aqadmin/puppet/var/facts; \
2006 Sep 29
7
Facts load by puppet -factsync question
fact loads:
I use facter to search the rsync path and then i write this sudoers line:
Cmnd_Alias BACKUPCOMMANDS = /usr/bin/rsync
I call puppet like this:
puppetd --factsync --server=xxx.yyy.61.131 --waitforcert 60 --test
the recipe is:
sudoensure_line { sudobackupcommands:
ligne => "Cmnd_Alias BACKUPCOMMANDS =
$rsyncpath",
2006 Dec 29
3
SVN Release Candidate: Please test
Hi all,
I''m getting very close to the next release of Puppet, and I need help
making sure it''s as bug-free as possible. The major changes in this
version relate to Rails (and thus resource collect/export) and
transaction internals. If you are currently using Puppet''s rails
support, you''re going to have to migrate manually, unfortunately (or
just
2006 Aug 19
2
file type when you create directory inside throw
Hello,
I have a strange problem this nigth that i cannot solve, perhaps you
can help me understand what is wrong.
I have a file type that upload a directory into my servers. Inside this
uploaded directory i create subdirectory and files on my own (directly
on the target host). The problem is that when puppet comes back to the
directory it spills out this error:
err:
2006 Sep 15
4
before everything
I have some facter file to distribute before running puppet on the platform.
The problem is :
how can i send the facter local.rb file so the rest of the .pp file take
into account the new facts created ?
ex: i have sudopath as a facter fact and one sudoers class that need
that sudopath to work. How do you model that ?
it seems puppet would have to rerun after the new local.rb is downloaded
2006 Dec 03
12
Problem with user type on 0.20.1... uses group "absent"
Hi, I''m running into a problem with the user type with puppet
0.20.1... this worked before with 0.19.x at least, not sure about 0.20.
But I''ve got adduser.pp:
<snip>
define adduser($uid, $gid, $groups="users", $membership="minimum") {
group {
$name:
gid => $gid,
allowdupe => false,
ensure
2007 Jun 14
19
Please test export/collect from svn
For those of you out there using export/collect (which we really need
to come up with a better name for...), can you test the current SVN
code?
I''m mostly wondering if the performance is any better. To use it,
you''ll have to remove your current database, since the database
schema is significantly changed.
I''m getting what looks like an additional 25% reduction
2007 Apr 12
1
upgrade to .22.3 and got errors on packages (debian sarge)
I just upgraded to .22.3 from .22.1 and now i got several error
messages. I havent found why i got them. Nothing has changed but still
there is error and i cannot correct them:
err: Package[lsb-release](provider=aptitude): Could not find latest version
i run debug:
debug: package provider aptitude: Executing ''/usr/bin/dpkg-query -W
--showformat ${Status} ${Package} ${Version}\n
2013 May 20
10
Problem creating user with Puppet
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",
shell => "/bin/bash",
2006 Sep 28
3
cron environement settings
It seems to me that when you setup an environement for a cron it just
recreate the crontab at each run even if the cron has not changed. Seems
it does not recognize actual environement settings. I put 2 environement
and i got:
info: Writing cron tab for aqadmin
/linux/cron=puppetdcron/environment: environment changed '''' to
2017 Apr 19
2
PUPPET - group IDS
hope thus comes under the remit of this mailking list...
We use puppet, and Im trying to come up with "code" that will create two user accounts with a shared groiup ID
eg?
user1 with UID 1000user 2 with UID 1001
but I would like them BOTH to share the GID of 2000
I've tried the following
accounts::groups:? ? jointgroup:? ? ? ? gid: '2000'
accounts::users:
? ? user1:? ? ? ?
2007 Feb 15
3
err: Configuration retrieval timed out
is there any way to prevent this timeou ?
i tried --configtimeout=600 --filetimeout=600
but this does not changes anything
--
Cordialement,
Ghislain
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
2017 Apr 19
0
PUPPET - group IDS
On Wed, 19 Apr 2017, Ian Diddams wrote:
> hope thus comes under the remit of this mailking list...
>
>
>
> We use puppet, and Im trying to come up with "code" that will create two user accounts with a shared groiup ID
> eg?
> user1 with UID 1000user 2 with UID 1001
> but I would like them BOTH to share the GID of 2000
> I've tried the following
>
2013 Apr 19
12
How to pass puppet/hiera veriable to external script ? Do I need to ?
Hi,
I have a problem with running puppet with hiera based data. I am trying to
cleanup
user accounts on a range of servers (to have the same uid/gid). When I
create existing account
but with different uid/gid it doesn''t change files group ownership so I
need to
run a script which cleanups after cleanup ;-)
I use the following code:
---
:backends:
- yaml
:hierarchy:
-