Displaying 20 results from an estimated 21 matches for "osfamily".
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
/etc/puppet/modules/mysql/manifests/params.pp:59 on node
ip-10-XXX-XX-XX.ec2.internal*
Does anyone know how to avoid this error ? Thank you for your help !
--
You received this message because you are subs...
2013 Sep 16
10
Unable to specify hierarchy for data-in-modules
Hello,
I''m running Puppet agent stand-alone on Windows.
I got data-in-modules working. However, no matter what I put into the
module hiera.yaml,
I can only override the defaults from common.yaml by osfamily (and not,
e.g., by environment).
In the setup below the following command outputs:
>puppet apply --binder -e "notice lookup (''my_key'')" --environment=local
Notice: Scope(Class[main]): windows-value
Notice: Compiled catalog for myhostname in environment local in 1.4...
2013 Feb 21
8
Facter & Puppet disagree on RHEL 6?
I''ve run into an odd one on one of my new RHEL 6 boxes. Puppet and Facter
seem to disagree about the value of a fact.
Puppet version: 2.7.9
Facter version: 1.6.4
Module: puppetlabs-apache
apache::params falls through its if structure:
if $::osfamily == ''redhat'' or $::operatingsystem == ''amazon'' {
...
} elsif $::osfamily == ''debian'' {
...
} else {
fail("Class[''apache::params'']: Unsupported operatingsystem:
$::operatingsystem or osfamily: $::osfamily")
}
T...
2013 Jun 19
0
Pip provider fails on RedHat osfamily when pip not installed via RPM (Could not locate the pip command)
In resolving bug 15980, the pip package provider was changed to recognize
the RedHat osfamily fact and use the executable name "pip-python" in those
environments. This does not take into account environments where pip has
been installed via easy_install or by custom rpm providers. In those
environments (such as mine) this osfamily change breaks the pip provider,
requiring as...
2013 Mar 01
2
Puppet newbie
...Loading facts in pe_version
info: Loading facts in postgres_default_version
info: Loading facts in iptables
info: Loading facts in puppet_vardir
info: Loading facts in root_home
info: Loading facts in facter_dot_d
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Unsupported osfamily: operatingsystem: Debian, module postgresql currently
only supports osfamily RedHat and Debian at
/etc/puppet/modules/postgresql/manifests/params.pp:158 on node
client.crous-nancy-metz.fr
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
--
You receive...
2012 Sep 30
22
in-module data with hiera
...o hard to install
and distribute these extensions.
I propose extending the module layout with a data/ directory that can go
into each module and in this data directory would live a hiera config
file (optionally) and module specific data:
your_module
├── data
│ ├── hiera.json
│ └── osfamily
│ ├── Debian.json
│ └── RedHat.json
└── manifests
└── init.pp
Here the data/hiera.json is optional and specifies a hierarchy that the
module author chooses and is unique to the specific backend.
The default contents would be this is the file is absent:
{"hiera...
2012 Dec 07
6
Poll for thoughts on hierifying modules and OS default differences
....
As we all know, there are certain attributes of a package which are, by default, consistent on an OS... say, the name of a package.....
class foobar {
include foobar::params
$package = $foobar::params::package
Package {$package:
ensure => installed
}
}
class foobar::params {
case $osfamily:
redhat: {
$package = ''foobar''
}
debian: {
$package = ''foobard''
}
default: {
fail
}
}
well, we want to be able to overide those defaults with hiera:
class foobar {
include foobar::params
$package = $foobar::params::package
Package {...
2013 Oct 24
2
SSH Module with multiple conditions
I''ve written and deployed a simple Linux SSH module. But I need to modify
to include support for FreeBSD and AIX. On top of that, I need to include
some conditionals in there that (for example)
if (/etc/file1 contains string abc) ; then
install sshd-config-x & ssh-config-x
elsif (/etc/file1 contains string xyz); then
install sshd_config-y & ssh_config-y
else install
2013 Sep 19
0
Adding nodes to groups automatically
Is there a way I can replicate the background task that automatically adds
all new nodes to the ''default'' group in puppet enterprise console? I''d
like the process to add nodes based on the osfamily fact. For example, if
the node is osfamily=RedHat add to group named RedHat.
From some reading I know there are rake tasks but I don''t see how to have
them add the node based on osfamily fact. I also looked into Heira and
know that it would do a better job of classifying nodes but I&...
2013 Nov 12
1
How to get Puppet Ent Agent for Mac Mountain Lion?
...ib/puppet/lib/facter/puppetdb_server_status.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/windows.rb
Info: Caching catalog for unknown.home
Info: Applying configuration version ''1384195446''
Notice: unknown.home (osfamily = Darwin) is not a Puppet Enterprise agent.
It will not appear when using the mco command-line tool or from within Live
Management in the Puppet Enterprise Console.
You may voice your opinion on PE platform support here:
http://links.puppetlabs.com/puppet_enterprise_3.x_platform_support
If y...
2013 Mar 20
2
Still problem using Chocolatey provider on Windows
...I have a problem getting the Chocolatey
provider to work on Windows.
I downloaded it from Github and placed it in
/etc/puppetlabs/puppet/modules/chocolatey. (I am running Puppet Enterprise
2.7.19).
On a Windows 8 client, I have a very simple manifest:
class install_notepadplusplus {
if $::osfamily == ''windows {
$pkg = ''notepadplusplus''
package { $pkg:
ensure => installed,
provider => ''chocolatey'',
}
}
}
When I run the agent on the client, I get
err: Failed to apply catalog: Parameter provider failed: Invalid p...
2012 Dec 07
2
Is there any ways to fetching custom fact after some resources setuped?
...acter::Util::Resolution.exec(''yum info icinga |grep
"^Version"'')
if match = /^Version\s*:\s*(\d+\.\d+\.\d+)$/.match(version)
match[1]
else
nil # should be fail?
end
end
Facter.add("icinga_version") do
setcode do
case Facter.value(''osfamily'')
when ''RedHat''
get_redhat_icinga_version()
else
nil # should be fail?
end
end
end
----
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visi...
2013 Jun 04
11
Share Hiera configuration between 2 nodes?
Hi,
I am trying to use Hiera in puppet 3 and I have two nodes that both need
the same configuration. In this case they are two web servers which have
the same apache configuration.
Rather than creating two seperate hiera files for node1.yaml and node2.yaml
is there a way to group these by role (e.g. webserver.yaml)? I want to
avoid duplicating the configuration if possible and keep the data
2011 Oct 10
0
Announce: Facter 1.6.2. available
...uch as for linux distributions that require amd64 as the
expected architecture. Ubuntu was added as a special case, OpenBSD was
collapsed into the current architecture fact and Darwin was added by
removing the kernel confine statement for the architecture fact.
##New fact: (6792) Added osfamily fact.
Added osfamily fact to determine if a given operating system is a
derivative of a common operating system.
##Fix (6515 and 2945) Fix processorcount for arm, sparc & ppc for linux.
Previously we were unable to check processor type and count on other
architectures for li...
2012 Oct 05
1
Puppet Dashboard inventory search problems.
...I get a blank screen.
In the logs, I found the following:
Processing NodesController#search (for X.X.X.X at 2012-10-05 08:44:57) [GET]
Parameters: {"action"=>"search", "controller"=>"nodes", "search_params"=>[{"fact"=>"OSFamily", "comparator"=>"eq", "value"=>"Debian"}]}
Errno::EIO (Input/output error):
/usr/lib/ruby/1.8/net/http.rb:564:in `write''
/usr/lib/ruby/1.8/net/http.rb:564:in `warn''
/usr/lib/ruby/1.8/net/http.rb:564:in `connect''...
2013 Dec 13
3
Resource ordering only using Hiera?
Hello,
I''m trying to come up with a generic wrapper class for use with hiera so
that I can have a service that is completely managed and configured via
hiera and its own puppet module to be notified by Puppet of changes to a
file or other resource managed by a different class/module. The example
I''m using here is the management of /etc/security/limits.conf for a
service account
2013 Oct 20
0
Release 1.0.0 of puppet-module-collectd
Hi Everyone,
I''ve just cut the 1.0.0 release of puppet-module-collectd. You can download
it from the Puppet Forge, http://forge.puppetlabs.com/pdxcat/collectd or
via the Puppet module tool with `puppet module install pdxcat/collectd` or
from our Github.
Thanks to everyone who has contributed to help make this module a success
[1]. The module now supports 5 osfamilies and the
2012 Oct 16
0
Tracing puppet processing for HP-UX user passwords
...n => cadcpuppet
hardwaremodel => ia64
hostname => cadcpuppet
id => root
interfaces => lan0,lo0
is_virtual => true
kernel => HP-UX
kernelmajversion => B.11
kernelrelease => B.11.31
kernelversion => B.11.31
operatingsystem => HP-UX
operatingsystemrelease => B.11.31
osfamily => HP-UX
path =>
/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/perl/bin:/opt/gvsd/bin:/opt/ipf/bin:/opt/nettladm/bin:/opt/fcms/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/sas/bin:/opt/graphics/common/bin:/opt/atok/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/sec_mgmt/bast...
2012 Nov 01
2
Does anyone know how to evaluate a node hostname in nodes.pp file?
Does any one know how to evaluate a node hostname in the nodes.pp file?
for example something like this..
node ''node1.com'', ''node2.com'', ''node3.com'' {
case node.name {
''node1.com'' : { include solaris }
''node2.com'' : { include redhat }
''node3.com'' : { include aix
2013 Nov 23
2
OSX 10.9 appdmg/pkgdmg
...13.0
kernelrelease => 13.0.0
kernelversion => 13.0.0
macosx_buildversion => 13A603
macosx_productname => Mac OS X
macosx_productversion => 10.9
macosx_productversion_major => 10.9
macosx_productversion_minor => 0
operatingsystem => Darwin
operatingsystemrelease => 13.0.0
osfamily => Darwin
path => /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
puppetversion => 3.3.2
rubysitedir => /Library/Ruby/Site/2.0.0
rubyversion => 2.0.0
Notice: Compiled catalog for hostname.domain in environment
production in 0.02 seconds
Debug: Creating default schedules
Debug:...