Displaying 20 results from an estimated 800 matches similar to: "Node or site.pp for global variables without dynamic lookup"
2009 Feb 04
1
Issue with template.pp
Hi i am creating a template.pp for different OS.. Following is my
template.pp file
node basenode {
case $operatingsystem {
fedora: { include fedora }
default: { include debian }
}
include baseapps, sshd, admin, default
} <=== line 7
node default inherits basenode {}
I receive an error.
err: Could not parse for environment production: Syntax error
2010 Jul 23
3
Design, syntax question for passing values from node.pp
Is it possible to define variable at this level. I need to pass the
monit config file name ( sometimes its monitrc sometimes in not ).
Here is what I have.
# /etc/puppet/manifests/nodes.pp
node basenode {
include postgresql
include monit
include wiki
include apace
}
node ''freebeerontuesdays.com'' inherits basenode {
}
--
You received this message because you are
2011 May 13
1
ubuntu package installs
hello puppet list
My puppet server is now working quite wonderfully. Thanks go out to
all who have assisted in getting it to this point. At this point in
time my config is now correctly installing packages according to
arch,os and release. Centos is working quite well as of now, but I am
attempting to get the ubuntu side of things to work as well. I am
frankly more familiar with RHEL under
2006 Jul 13
1
RSync --compare-dest
Hi,
I have problem with --compare-dest option.
I have backup that copies all files on WINDOWS server to another computer
each Monday. On rest of weekdays I want to compare files between production
data and once backuped on Monday and copy ONLY changed/new files to third
location.
I use syntax:
rsync -av --delete-excluded
--exclude-from=/cygdrive/d/bin/backup/excludes.txt
2011 Jul 02
8
err: Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could not find relationship target "File[]"
I''m running Puppet 2.7.1 on the master as well as the agent and just
received a new error which doesn''t actually reference a module or a file, so
I''m somewhat stuck as to how to debug this. Any pointers?
The error is err: Could not retrieve catalog from remote server: Could not
intern from pson: Could not convert from pson: Could not find relationship
target
2011 Jul 01
4
require => Class
Hi
I have been trying to use class dependency and had no luck so far.
following are the two classes i am trying to use
[root@puppet]#cat libreoffice.pp
class libreoffice {
case $hostname {
"foo": { package { "libreoffice": ensure => present, require =>
Class["foo1"] } }
}
}
[root@puppet]#cat foo.pp
class foo1 {
package {
2011 May 13
5
ssh_authorized_key loops when options is defined
Hi all,
I have no problem with creating ssh keys for users, but as soon as I
specify ''options'', puppet keeps repeating and replacing the key with
an identical key.
I have written the various options in various formats, like one big
strings, as an array, with double quotes or single quotes, etc, etc
(see examples below), but the issue stays
as a string ...
@authorizedkey {
2007 Dec 13
1
Help me understand class namespacing
I asked on IRC but no one responded.
Suppose the following:
class basenode {
include users
include security
class webserver {
include apache, php
}
}
node web1a {
include basenode::webserver
}
Does node web1a imply including users and security specified under
class basenode as well? Similarly, does this mean the same thing?
class basenode {
include users
include security
}
2011 Apr 30
10
How to check if a package exists
Dear all,
I''m trying to do this. Say for example, I want this link: "liblcgdm.so
-> liblcgdm.so.1.8.0" to be present on the client only if "lcgdm-
libs-1.8.0-1sec.sl5" is already listed. I already have this to create
the link:
file {
''liblcgdm.so'':
ensure => symlink,
name => ''/opt/lcg/lib/liblcgdm.so'',
2007 Feb 28
1
Samba share not working
Guys,
I've a simple setup where a Solaris 8 server running Samba 3.0.4 serves
out a single share. User authentication is done through Windows Active
Directory servers. This has been working fine with a Windows client
where the user can map the share without any problems. The user has now
setup a new Windows server and is failing to map the share. I can see
the following error message in the
2007 Nov 26
0
Winbind / AIX 5.3 returns incomplete user informations
Hi,
We are facing a problem on AIX 5.3 (latest patch) where the following
behavior happens. Reproduced with versions of samba from 3.0.23 to
3.0.26a.
# Normal behavior :
# id and id username should return the same info
#
root@srv1:/# id
uid=0(root) gid=0(system)
groups=2(bin),3(sys),7(security),8(cron),10(audit),11(lp)
root@srv1:/# id root
uid=0(root) gid=0(system)
2013 Dec 10
1
Error after crash of Virtual Machine during migration
Greetings,
Legend:
storage-gfs-3-prd - the first gluster.
storage-1-saas - new gluster where "the first gluster" had to be
migrated.
storage-gfs-4-prd - the second gluster (which had to be migrated later).
I've started command replace-brick:
'gluster volume replace-brick sa_bookshelf storage-gfs-3-prd:/ydp/shared
storage-1-saas:/ydp/shared start'
During that Virtual
2011 Jun 30
5
How to define a hash table and loop over them in a definition?
This may have been asked before, if so, please excuse me and point me
to the right direction.
What I want to do is to define a hash table with multiple key->value
pairs. I would like to pass this variable to a file template and
generate a result file with all the mappings listed. Based on what I
read, I need to do it in a definition. But does Puppet supports loop
over a hash?
Any help would
2015 Apr 16
0
SAMBA and CTDB
Getting the following error when trying to add to the domain the username and password are correct because they work on other machines.
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2015.04.16 09:50:06 =~=~=~=~=~=~=~=~=~=~=~=
INFO: Current debug levels:
all: 5
tdb: 5
printdrivers: 5
lanman: 5
smb: 5
rpc_parse: 5
rpc_srv: 5
rpc_cli: 5
passdb: 5
sam: 5
auth: 5
winbind: 5
vfs: 5
2023 Feb 01
0
Corrupted object's [GFID], despite md5sum matches everywhere
Hi,
To test corruption detection and repair, we modified a file inside the
brick directory on server glusterfs1, and scheduled regular scrubs. The
corruption is detected:
Error count: 1
Corrupted object's [GFID]:
9be5eecf-5ad8-4256-8b08-879aecf65881 ==> BRICK: /data/brick1/gv0
path: /prd/drupal-files-prd/inline-images/small - main building 1_0.jpg
We have self-healing enabled, and
2017 Jan 18
4
[Bug 12527] New: Sender waits for timeout when fuzzy basis file found
https://bugzilla.samba.org/show_bug.cgi?id=12527
Bug ID: 12527
Summary: Sender waits for timeout when fuzzy basis file found
Product: rsync
Version: 3.1.2
Hardware: All
OS: All
Status: NEW
Severity: critical
Priority: P5
Component: core
Assignee: wayned at samba.org
2002 May 03
1
Newbie question on Rsync on Solaris
I want to replicate between two Solaris hosts. The source is Solaris 2.6
and the target is Solaris 2.8. Using rsh, the basic program seems fine (not
running in daemon mode), but I have a problem.
The directory tree is about 150,000 files, with about 5 gb of data. I
tar'd the directory and moved it to the other side, but when I run an rsync
against that directory, it still wants to move
2016 Jul 01
0
problem with dnsmasq and dhclient
Hello,
I have a problem which is that some of my VMs are loosing there IP addresses from time to time. What I saw in the log is when this VM loose its IP address there are DHCPREQUEST send from the VM by dhclient and the server responded only 50 minutes later !
Any help, advise on how to debug would be welcome.
Thanks in advance
Patrick
Here after is an extract from the log
July 1st 2016,
2016 Jul 01
0
problem with dnsmasq and dhclient
Hello,
I have a problem which is that some of my VMs are loosing there IP addresses from time to time. What I saw in the log is when this VM loose its IP address there are DHCPREQUEST send from the VM by dhclient and the server responded only 50 minutes later !
Any help, advise on how to debug would be welcome.
Thanks in advance
Patrick
Here after is an extract from the log
July 1st 2016,
2016 Jul 01
0
problem with dnsmasq and dhclient - loosing IP address after a while
Hello,
I have a problem which is that some of my VMs are loosing there IP addresses from time to time. What I saw in the log is when this VM loose its IP address there are DHCPREQUEST send from the VM by dhclient and the server responded only 50 minutes later !
Any help, advise on how to debug would be welcome.
Thanks in advance
Patrick
Here after is an extract from the log
July 1st 2016,