similar to: $operatingsystem variable.

Displaying 20 results from an estimated 2000 matches similar to: "$operatingsystem variable."

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
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
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 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:
2012 Mar 28
4
Could not load confine test 'operatingsystem': cannot load such file -- puppet/provider/confine/operatingsystem
Hello, I''m having some trouble. I keep getting the following warnings when trying to run: $ puppet master --no-daemonize /usr/local/build/puppet-bundle/vendor/gems/ruby/1.9.1/gems/ puppet-2.7.12/lib/puppet/external/pson/pure.rb:7:in `<module:PSON>'': iconv will be deprecated in the future, use String#encode instead. Could not load confine test
2012 Jul 17
8
How to override $::operatingsystem fact
Hi, I want to introduce "Proxmox" as new value in $::operatingsystem. "Proxmox" is based on Debian, so the normal value is currently "Debian". To change that, I just write a custom fact based on the facter fact "operatingsystem" Facter.add(:operatingsystem) do > ... > setcode do > ... > elsif
2007 Feb 12
3
Autogenerating of operatingSystem and operatingSystemVersion attributes in AD
When Samba joins to AD, net creates 'Computer' object in target AD. Object 'Computer' has attributes operatingSystem and operatingSystemVersion, which automatically setup in properly value, when native Windows join to AD. I offer a patch to utils/net_ads.c to do similar way - set up operatingSystem to "Samba" and operatingSystemVersion to Samba version, when Samba
2012 Jun 15
3
Unsupported osfamily: Linux operatingsystem: Amazon
Hi all, just installed the puppetlabs-mysql module for puppet on my Puppet server which is an Amazon Linux (based on RedHat), but I get this error when I run puppet agent --test : *err: Could not retrieve catalog from remote server: Error 400 on SERVER: Unsupported osfamily: Linux operatingsystem: Amazon, module mysql only support osfamily RedHat and Debian at
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
2013 Sep 18
4
Not able to capture node info via browser
If I run below command on puppet master. I am able to get output pasted here. But the same information, I am trying to capture via browser using http://puppetdb:8080/v2/facts/operatingsystem but not working [root@puppetmaster ~]curl -X GET http://puppetdb:8080/v2/facts/operatingsystem curl: (6) Couldn''t resolve host ''puppetdb'' [root@puppetmaster ~]# curl -X
2020 Jun 23
0
Update of operatingSystem and operatingSystemVersion attributes in AD
Hi list, We've been looking into updating? operatingSystem and operatingSystemVersion attributes automatically and periodically (so version remains correct after OS upgrades) but quickly found out the machine account principal does not have enough permissions as it would error out with INSUFF_ACCESS_RIGHTS. As Windows /is /able to update those attributes I've been doing some
2006 Aug 03
3
Relationships between models.
Hi All, I think Im having a mental block here. For some reason I just cant get my head round relationships. What I have is the following. 4 tables 1) Hosts 2) Software 3) OperatingSystem 4) Company In my terms (which are most likely wrong) a company can have lots of hosts, a host has lots of software, a host has one operating system. So should my models have the following relations in them?
2008 Jan 03
4
Package Source Definition
Hi i''m trying to describe some class with a package to install, which should work on different linux-distro''s as well on linux and openbsd: class vim { package { ''vim'': name => $operatingsystem ? { centos => vim-enhanced, default => vim, }, alias
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
2013 Nov 12
1
Own Package Installscript
Hi, i want to use Puppet to install all packages from a webserver (no repository) . Therefore I wrote following Script: class install_package { case "$operatingsystem" { SLES: { notify {"${operatingsystem} ${operatingsystemrelease} detected":} notify {"Installing $packagename now:":}
2011 Nov 18
2
Are tildes actually valid in templates or is this a bug?
Hi all, First off, we''re running Puppet 2.7.6 with Ruby 1.8.7 on CentOS 6.0. Now, I''m using tildes in a template to prevent newlines from appearing but ruby/puppet is choking on them. */tmp/puppet$ cat test.erb* Line 1: Line 2 will exist if running on CentOS. <% if operatingsystem == "CentOS" ~%> Line 2: Yay, we''re running CentOS. <% end ~%>
2011 Oct 18
2
Puppet node fails to pass facts to master
Hello Puppet list, I am taking over the puppet configuration of a sysadmin who left, and am having troubles deploying puppet to a new node. We are using puppet v2.7.3 both on the client and the puppetmaster, on Ubuntu 10.10. The node asks for a certificate fine, and I signed it on the puppetmaster. For the following logs extract I ve replaced the FQDN of my node by puppet.example.com. When doing
2013 Mar 06
1
ldap-query operating system attribute
Hello, I'm running samba 4.0.3. when I query the operatingsystem attribute using ldapsearch ... -P 3 "(objectCategory=computer)" The operatingsystem value returned for "Windows 7 Professionnel N" is operatingSystem:: V2luZG93c8KgNyBQcm9mZXNzaW9ubmVsIE4= which translate to Windows? 7 Professionnel N But when I look at it using dsa.msc I can read "Windows 7
2011 Nov 01
4
2.7.6 yumrepo not working
Just upgraded to 2.7.6 and the yumrepo type does not write out our yum configs correctly, anyone experiencing this? Documentation hasn''t changed from what I can tell for this type. # facter -version 1.6.2 # puppetd --version 2.7.6 # facter architecture x86_64 # facter operatingsystem Fedora # facter operatingsystemrelease 14 ==== My manifest ==== yumrepo {
2012 Nov 28
2
[hiera] Hierarchy modification takes long time to be effective
Hello, I''ve something strange : When I modify my hierarchy in my hiera.yaml, it can take up to several hours, for the modification to work. eg : I create a subdir in my hieradata, move all the concerned files into, modify my hiera.yaml > from : > :hierarchy: > - %{operatingsystem} > to : > :hierarchy: > - *os/*%{operatingsystem} > but the changes