Displaying 20 results from an estimated 1000 matches similar to: "Puppet module for managing Cobbler"
2012 Dec 27
3
generate() function help
Hi.
I want to run script which is distributed with my module, but the
problem is I have to then hardcode the path to the script in the
generate function call, for example:
generate("/etc/puppet/environments/${environment}/modules/mymodule/scripts/myscript")
But what If some other site uses other path to their modules, or doesn''t
use environments at all? Is it possible
2013 Jul 13
10
username/password combo for custom provider (couchbase)
Hi,
I''m trying to program custom type for managing Couchbase buckets.
Problem is that every RW operation to Couchbase cluster (creating,
deleting, resizing bucket) requires admin privileges (username/password).
Do you have any suggestion how should I pass the username/password to
provider? If I make it a param, then every resource of type
''couchbucket'' will need to
2012 Sep 05
4
Custom type obligatory field?
Hi.
I''ve been trying to develop a module for managing Cobbler from puppet.
So, I need a custom type - cobblerdistro, which will fetch ISO from
http, unpack it at desired destination and register distro with Cobbler.
I have one issue with ensure => absent situation.
First of all, here is my type:
<code>
# cat type/cobblerdistro.rb
Puppet::Type.newtype(:cobblerdistro) do
@doc
2013 Feb 06
3
PuppetDB builtin backend performance?
Hi,
I''m using PuppetDB with builtin backend, haven''t switched yet to
postgresql, and I''m starting to see decrease in performance of my agent
runs.
I use PuppetDB solely because of exported resources support.
How soon should I think about moving to PostgreSQL? How many clients
does my master need to serve, so that PuppetDB in it''s default
installation,
2012 Jun 18
8
Conditional with variable from facter
Hi.
I have the following facts available:
# facter | grep oper
operatingsystem => CentOS
operatingsystemrelease => 6.2
Now, if I wish to use conditionals on these facts, I have to do it like
this:
case $operatingsystem {}
case $::operatingsystemrelease {}
I''m puzzled as to why can''t I just use $operatingsystemrelease, and what
do these two semicolons mean?
Thank
2012 Feb 03
1
Samba 3.5 & CIFS mounts - long standing issue...
Hi.
I can see that this is a long long standing issue... Apparently things
changed in Windows 2008 R2, and after upgrade of domain from R1 to R2
cifs mounts don't work anymore between Linux servers. Windows can see
Samba shares and mount them, but CIFS on another Linux box cannot...
Here is a thread with explanation in lenght:
http://ubuntuforums.org/showthread.php?t=1178484
I get the
2012 Jan 15
2
Samba 3.6 problems with idmap rid
Hi!
I am using mainly Samba 3.5 on CentOS, and I was very pleased with
idmap_rid backend for SID-to-RID mappings.
But on Solaris 10, I can only use 3.6 because OpenCSW ships only 3.6.
Problem is, things are changed and are not working as expected...
Here is my config on RHEL Samba 3.5:
[global]
workgroup = WINDOMAIN
realm = WINDOMAIN.LOCAL
server string = localserver
2012 Jun 14
2
Puppetmaster and two IP addresses?
I have a problem with puppet on a machine which has public and private
IP address. My nodes are on private lan, and hostname of master is FQDN
of the public IP.
Client''s just cannot connect. Problem which I get is:
err: Could not retrieve catalog from remote server: SSL_connect
returned=1 errno=0 state=SSLv3 read server certificate B: certificate
verify failed
I''ve added
2012 Sep 07
7
passenger-install-apache2-module fails
Hi I have installed passenger on many machine and this is my 3rd puppet
master on CentOS 6. This one is giving me problems and I have been trying
with different gem versions and still no go.
When I run passenger-install-apache2-module I get this error:
Sorry its really long so I copied to a text doc attached to this post.
Any Idea on whats going wrong. I have not had a problem with this before
2012 Dec 04
14
custom define type for array with 'case' argument pass to it
I am trying to write a define type which will use an array but in the
meantime have an argument pass to it that sets a case. See for example :
define link_files ($linkcase) {
case $linkcase {
"var" : {
file { "${name}_exelink" :
path => "/var/log/puppet/${name}_log",
ensure => link,
2012 Aug 20
4
puppet-lint and 80 characters line limit?
Hi.
I''m getting lots of warning like this one from puppet-lint:
WARNING: line 67 has more than 80 characters
Now, I don''t like warnings, so any idea how should I rewrite this line
for example, to void the warning?
package {''rpmforge-release'':
ensure => ''0.5.2-2.el6.rf'',
provider => ''rpm'',
source =>
2012 Oct 31
1
Samba 3.5 - user authentication issues
Hi.
I'm using CentOS 5 with samba3x packages (Samba 3.5.10) and Solaris 10
(Samba 3.5.8) for achieving AD integration. Samba hosts are added as
domain members.
Now, I've tried to add CentOS 6, which also uses 3.5.10, but have
encountered a problem -> users cannot authenticate for some reason.
Configurations are pretty much the same across the board, and they look
like this:
#
2013 Mar 05
12
Boolean in hiera... problems again
Hi...
I''ve been trying to set up boolean values in Hiera, but with no luck.
For example, I''m using puppetlabs-haproxy module, and this is a code
snippet:
class haproxy (
$manage_service = true,
...
) inherits haproxy::params {
...
if $manage_service {
}
}
Now, this is how I set up values in hiera:
haproxy::manage_service: false
But, it seems that
2011 Aug 18
10
Circular RPM dependencies...
Hi.
I encountered a following problem, if I state for example:
package{"aspell-en": ensure => absent, }
package{"aspell": ensure => absent, }
I get error in logs because of dependencies. It seems that puppet uses
''yum'' for installation on CentOS and ''rpm -e'' for removal of packages,
so it cannot handle this kind of dependencies:
2010 Feb 27
17
XEN and clustering?
Hi.
I''m using Xen on RHEL cluster, and I have strange problems. I gave raw
volumes from storage to Xen virtual machines. With windows, I have a
problem that nodes don''t see the volume as same one.... for example:
clusternode1# clusvcadm -d vm:winxp
clusternode1# dd if=/dev/mapper/winxp of=/node1winxp
clusternode2# dd if=/dev/mapper/winxp of=/node2winxp
clusternode3# dd
2013 Jun 24
1
Deprecation notice on custom type?
Deprecation notice: Resource references should now be capitalized on
line 101 in file /etc/puppet/manifests/templates/basenode.pp
This is the specific line of code:
realize (users::useraccount[hiera(''users'')])
When I capitalize Users, I get the following error:
Error 400 on SERVER: Could not parse for environment production: Syntax
error at
2012 Oct 30
1
Joining domain without password?
Hi.
Is it possible somehow to join a Linux machine to a AD Domain without
providing any password on a CLI?
So far, I've been joining machines purely by:
# net ads joint -U Administrator%password
But now, I'm trying to automatize the process through puppet, but don't
know if it's possible somehow to join domain without using administrator
(or any other) password?
I can
2012 Aug 22
2
Hiera, OSSEC and per-node stuff?
Hi.
I have an interesting use case.
OSSEC is security tool based on server-client architecture. Server
generates keys for agents, and every agent has different key.
Now I want to distribute these keys via puppet. I''ve come accross hiera
and installed it, and it works superbly, but how to store per-node key
in hiera?
This is my idea:
hiera,yaml:
---
:hierarchy:
-
2012 Dec 14
4
New Puppet User: Issues with pre-commit script
Hi Guys,
I am new to puppet so please let me know if this is not the correct place
for asking this question. I am setting up a new puppet environment running
the latest 3.x version. I have the puppet master and client setup
correctly and tested with deploying a simple file to the client. Now, I am
working on adding all the configs to SVN since I will have all my users
checkout the
2012 Dec 12
4
Converting puppet client to servr
Is there an easy way to convert a puppet client into being a puppet master?
Here''s the scenario. I''m using puppet to configure all my systems, and
would like it to be able to deploy a new puppet master as well. We have
systems worldwide so having local puppet masters is very desirable for
fault tolerance. So Kickstart (via cobbler) installs a puppet client during
the initial