Displaying 20 results from an estimated 11000 matches similar to: "Restructure puppet modules"
2012 Feb 16
4
Could not set present on ensure: Read-only file system
Hi,
I try install python-psycopg2 with other packages, when run apt-get -y
update returns the errors:
err: /Stage[main]/Etc/Package[build-essential]/ensure: change from
purged to present failed: Could not set ''present on ensure: Read-only
file system - /tmp/puppet20120216-1063-18q7lsz-0 at
/tmp/vagrant-puppet/manifests/vagrant.pp:15
err:
2017 Dec 05
2
upgrading python
On 12/05/2017 02:45 PM, Kai Grunau wrote:
> On 05.12.2017 14:24, Larry Martell wrote:
>> On Tue, Dec 5, 2017 at 8:16 AM, Kai Grunau <kgrunau at geomar.de> wrote:
>>> On 05.12.2017 14:05, Larry Martell wrote:
>>>> I am running CentOS 7 and I have python version:
>>>>
>>>> Python 2.7.5 (default, Sep 15 2016, 22:37:39)
>>>>
2017 Dec 05
2
upgrading python
On Tue, Dec 5, 2017 at 8:16 AM, Kai Grunau <kgrunau at geomar.de> wrote:
> On 05.12.2017 14:05, Larry Martell wrote:
>>
>> I am running CentOS 7 and I have python version:
>>
>> Python 2.7.5 (default, Sep 15 2016, 22:37:39)
>>
>> I need a newer version of 2.7 to pick up a bug fix. How can I do that
>> (without breaking anything in CentOS)?
>
2010 Jun 17
5
Could not find class, code-blind
I''m troubled with a node-definition not able to resolve a class:
Could not find class rhnsd::common at /etc/puppet/manifests/nodes.pp:
8 on node X
Content of manifest/site.pp:
import "nodes.pp"
[...]
The layout of modules/rhnsd/ is:
|-- files
| `-- up2date-rhn
|-- manifests
| |-- client.pp
| |-- common.pp
| |-- init.pp
| `-- rhn.pp
A `cat'' from each
2013 Nov 16
4
frustrating dependency problem
I''m having a difficult time with a dependency issue. Basically, I want to
be able to call a defined type, but it''s not working out so far. I have my
manifests setup like this:
init.pp:
class foo {
....
}
bar.pp:
class foo::bar {
include foo
package{ "test":
ensure => running,
notify =>
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 Feb 12
1
Using templates
Hi everyone,
I''m learning Puppet and I want to configure ssh server with different
port on different nodes.
Puppet v2.7.1
I have created module ssh:
content of modules/ssh/manifests/install.pp
class ssh::install {
package { "ssh":
ensure => present,
}
}
content of modules/ssh/manifests/service.pp
class ssh::service {
service { "ssh":
ensure =>
2011 Oct 13
1
puppet apache module
I''m getting this and it isn''t applying my apache module. Is it because
of these warnings?
notice: Starting Puppet client version 2.7.5
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/puppet-2.7.5/lib/puppet/
provider/service/freebsd.rb:8: warning: class variable access from
toplevel
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/puppet-2.7.5/lib/puppet/
provider/service/freebsd.rb:9:
2012 Aug 06
4
Could not evaluate: Could not retrieve information from environment production source(s) for one module, for other is ok
Hi,
I have been fighting this issue without success for several days. I am
sure some of you have dealt with something similar:
I have 2 manifest one for vim which works like a charm :
class vim {
if $operatingsystem == "Debian" {
package {"vim":
ensure => present,
}
package
2011 Jul 13
4
puppet manifest execution orders
I created manifest for our webserver. manifest included git clone,
database creation and restore database etc.... How to order the
installation and exec exactly
Roni
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
2010 Mar 02
2
Nagios based on David Schmitt's Complete Config : variables are empty
Hello !
I''m trying to implement a Nagios solution based on David Schmitt''s
Complete Config. But I the following error when running puppetd -t -
v :
notice: Starting catalog run
err: //Node[monitoring]/nagios::target/Nagios::Host[]/File[/conf.d/
_host.cfg]/ensure: change from absent to present failed: Could not set
present on ensure: No such file or directory - /conf.d/
2011 Feb 17
1
Nested defined resources
I''m working on a module to handle creating and populating Python
virtualenvs. Without going into too much detail, basically these are
nicely-encapsulated environments into which python packages can be
installed and run. It''s not uncommon to have several virtualenvs on a
system, potentially with the same packages installed (maybe different
versions).
Puppet''s defines
2011 May 16
4
apt-pinning & puppet package management
Hello!
I have question about Debian package management with puppet. I''m
wondering is there sane way to make puppet respects packages pinning?
i.e., if I have several repos for one package, let''s say it is "nginx"
which can be found in lenny & lenny-backports repos. I''ve created
pinning file like:
Package: nginx
Pin: release a=lenny-backports
Pin-Priority:
2010 May 21
3
SSH service not getting restarted
Hi,
I have this in my sshdconfig module''s init.pp but the service is not
getting restarted even though at first connect the file sshd_config is
getting modified with the Banner entry. Can someone please help?
class sshdconfig {
file {
"/etc/ssh/sshd_config":
path => "/etc/ssh/sshd_config",
owner => root,
2017 Mar 15
2
Relaiable ssh tunnel via systemd
Am 14.03.2017 um 21:43 schrieb Nico Kadel-Garcia:
> On Tue, Mar 14, 2017 at 4:20 PM, Thomas G?ttler
> <guettliml at thomas-guettler.de> wrote:
>>
>>
>>
>> Am 14.03.2017 um 15:10 schrieb Nico Kadel-Garcia:
>>> Look into the "autossh" program, which is very good to manage and
>>> maintain such tunnels.
>>>
>>
>> Hi
2008 Mar 19
10
Network interfaces (and deleting them)
I''m in a bit of a pickle and I can''t work out a safe way to do
something. I currently have a define called ip that I use to define
network interfaces. The built in method didn''t seem to work, so I
designed this to write out the /etc/sysconfig/network-scripts/ifcfg-
ethX file.
However, I started thinking about what if I decide to define an eth0:0
for some purpose, and
2017 Mar 14
4
Relaiable ssh tunnel via systemd
Am 14.03.2017 um 15:10 schrieb Nico Kadel-Garcia:
> Look into the "autossh" program, which is very good to manage and
> maintain such tunnels.
>
Hi Nico and other ssh users,
Systemd restarts the ssh if it terminates. AFAIK this is all that is needed.
But maybe I am missing something. Is there a feature of autossh that I don't
get with systemd?
--
2012 Jul 09
3
Trouble installing packages with Puppet on Arch Linux
Hey everyone,
I seem to be running into an error that I can''t find an answer for.
I have a simple manifest that installs a few packages and then starts a few
services. But it chokes while installing Nginx with this error:
err: /Stage[main]//Package[nginx]/ensure: change from purged to present
> failed: Could not set ''present on ensure: invalid byte sequence in US-ASCII
2013 Feb 18
8
Error with service: "invalid byte sequence in US-ASCII"
I just built a new puppet master, and whenever I run puppet on it, it
throws an error while processing a service resource:
# puppet agent -t
> Info: Retrieving plugin
> Info: Caching catalog for i-45dc2b1d
> Info: Applying configuration version ''g
> 9ea47ad19bc706a754c00f00a024309948d3ea03''
> Error: /Stage[main]/Ipa::Client::Basic/Service[sssd]: Could not
2012 Aug 31
2
How to detect if key ssh-add'ed with '-c' or without?
Hi all. Some background: I'm using my own wrapper script for ssh that deals with multitude of IP addresses, user accounts, keys and other ssh parameters for bunch of managed hosts.
On X session start i (actually, my script) load all my private keys with 'ssh-add -c', to get confirmation on every key usage.
This works bad with autossh, so i would like to add some logic: if I specify