similar to: Can you use a define for a virtual type?

Displaying 20 results from an estimated 300 matches similar to: "Can you use a define for a virtual type?"

2007 Jun 04
3
Method of specifying tags in the puppetd.conf
Hi, From looking at the puppetd --help, there is not currently (at 0.22.4) a method of specifying tags in the puppetd.conf. I was hoping to use this for the following reason: Currently, I use ''noop = true'' in my puppetd.conf, and run ''puppetd --no-noop {tags}'' to install the configurations that I am happy with. This is because I''m currently
2007 Jun 11
4
freeBSD User provider
Hello, from the doc it seems that the User type has a provider of ''pw'' for FreeBSD. It seems the provider does not allow dupelicate, does not allow to manage the homedir and to manage password. in the code the duplicate uid is set so it seems the doc is out of date on this :) - manage home directory, i don''t really understand what is that parameter. The
2007 Jun 13
3
Facter ''operatingsystemrelease'' fact.
From looking at the Facter code, it looks like the ''operatingsystemrelease'' fact is currently a mirror of the ''kernelrelease'' fact. I''d like to implement this fact so that it returns the major version of the operating system, eg: Debian Sarge: operatingsystemrelease => 3.1 Debian Etch: operatingsystemrelease => 4.0 RHEL3 update 8:
2007 May 11
5
dry-run?
Greetings. Long story short ... configuration changes were made to my puppet clients while my puppet server was unavailable. I would like to run puppetd in such a way that it will list what files it would replace, but not actually replace them, so that I can synchronize my server with my various clients. rsync has a -n (--dry-run) option that does this. But I can''t find one in
2015 Jul 18
1
bug in group permission check
Jul 19 01:05:27 sv1 dovecot: auth: Error: passwd-file(aa at ddd,89...24,<>): stat(/usr/dovecot-cfg/dom-home/ddd/etc/ddd/shadow) failed: Permission denied (euid=33454(dovecot) egid=33454(dovecot) missing +x perm: /usr/dovecot-cfg/dom-home/ddd, we're not in group 33795(sysgroup), dir owned by 32072:33795 mode=0710) root at sv1 [~]# sudo -u dovecot groups dovecot sysgroup root at sv1 [~]#
2007 Jul 03
3
$operatingsystem variable.
In the documentation, there is an example such as this: case $operatingsystem { sunos: { include solaris } # apply the solaris class redhat: { include redhat } # apply the redhat class default: { include generic } # apply the generic class } I''ve seen the $operatingsystem variable used elsewhere. What actually puts the value into the $operatingsystem variable? Does
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 >
2006 Jun 07
4
Table names
Can I use the table name "adm_users" (mysql)? Will that give the model name "adm_user"? Or should it be "admusers" and "admuser"? -- Posted via http://www.ruby-forum.com/.
2007 Apr 25
17
Multiple swap partitions
I have a machine with two swap partitions (sda2 and sda8). Both will have none as mount point. When I try to use puppet (using mount type) for managing fstab I get problems because "name" in both instances (i.e. mount path) will be "none". How should I fix this within puppet? Regards Halvard Moe
2007 May 01
7
RFC: Changing variable override
It seems like a very common expectation that the following code would work: class boo { $me = "/something" file { $me: ensure => present } } class yay inherits boo { $me = "/something/else" } Yet, as many have found to their chagrin, it does not work. Should it? I believe I know how I could make this work: Create a single variable namespace for class
2005 Mar 16
0
Local user authentication.
Hi, I have installed samba with the following smb.conf parameters settings, in this way it authenticate the NT Domain users on the share, but I want to authenticate also local users on the SRVLX03 they are declared in passdb.tdb file and works on MS-DOS client. So I've try to connect to the share by smbclient command with these users and it works fine if I put -W SRVLX03 (they aren't on
2006 Aug 24
1
[OT] ldapmodify options for changing AD attributes
I have a samba 3 dc where users log on with their win xp workstations and I have a w2k3 domain where there is an exchange server the users connect to with outlook. I would like to do an ldapmodify command on active directory to initially align time password was set for both samba and exchane and then have the users notified when logon samba pwd is near to expirate and so they receive also
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 =>
2007 Jul 10
18
Recursive permissions
Does anyone know if it''s possible to do the following: Given the directory structure: /foo/bar /foo/bar/<bunch of stuff> Is it possible to set /foo/bar to, say 555, and all stuff below to 440 or the directory equivalent? Thanks, Trevor
2009 Apr 23
11
Puppet on busybox, Bob Hope or No Hope?
When I say busybox it''s actually VMware ESX server which seems to use busybox (which I guess is the case a number of other software appliances) . Reason for wanting to install puppet is to run the cli tools to create nightly vmware snapshots. I''m happy to give it a go (and add the docs to the wiki) but I''m not too sure at this stage how big a task this might be and what,
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,
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 Aug 16
0
No subject
class users_noc inherits users_all_virt { realize ( Users_account["user1"], Users_account["user2"], Users_account["admin1"], Users_account["admin2"], Users_account["admin3"], ) } class users_all_virt { $homefs = "/home" file { $homefs: ensure => directory, owner
2013 May 07
1
Virt-v2v virtio device limit?
On Tue, May 07, 2013 at 05:26:14PM +0000, Davis, Richard wrote: > Apologies for the direct questioning, but is there a limit to the > amount of disks (virtio devices) assigned to VM that virt-v2v can > handle ? (I'm moving RHEL VM's from RH KVM hypervisors to RHEV > using virt-v2v-0.8.9-2.el6.x86_64) The published version of virt-v2v can only handle either 2 or 3 guest hard
2012 Jun 22
1
libguestfs and RHEV
On Fri, Jun 22, 2012 at 12:57:40PM +0000, Davis, Richard wrote: > I see that the libguestfs packages are included in the RHEV > Hypervisor product. > > Are there any plans to further integrate the libguestfs toolset into > the RHEV product ? In particular, the ability to mount and change > raw volume content for a VM via guestfish ? Yes there are plans to do this, but no public