similar to: Ignore a failed dependency

Displaying 20 results from an estimated 90000 matches similar to: "Ignore a failed dependency"

2013 Jul 18
2
Puppetlabs Apt module: dependency cycle
Using ```puppetlabs/apt``` in a puppet provisioner for vagrant. the module is installed in puppet/modules and I''m getting a strange Dependency cycle error. the code in the manifest file: # Run apt-get update when anything beneath /etc/apt/ changes #taken from https://blog.kumina.nl/2010/11/puppet-tipstricks-running-apt-get-update-only-when-needed/ exec { "apt-get
2012 Mar 08
1
apt-get update running before installing packages - dependency not working
Hi, I''m having some issues with it doing an apt-get update before installing packages. In my Apt modules I have Exec["apt-update"] -> Package <| |> and in the run itself I see debug: /Stage[main]/Apt/Exec[apt-update]/before: requires Package[libmysqlclient-dev] debug: /Stage[main]/Apt/Exec[apt-update]/before: requires Package[mysql-server] but then it does the
2007 Dec 06
1
order, managing one file and refreshonly
Hello! I''m quite newbie to puppet. I''ve got 3 questions: 1. I''ve noticed, that puppet apply defined classes/modules in specyfic order. I''ve got something like this im my configs: /etc/puppet/cf/manifests/site.pp: import "networks/*/site.pp" node generic_node { include "puppet" include "apt" include "debian" } ---
2012 Dec 26
6
puppetlabs/apt and apt::ppa
Greetings, I''m trying to add ppa:nginx/stable repo for Ubuntu 12.04.1 LTS. Server: puppetmaster-common 3.0.1-1puppetlabs1 Agent: puppet 2.7.11 And when I try to apply manifest - getting: puppet agent -t info: Caching catalog for wproxy71.tpnt.net err: Failed to apply catalog: Could not find dependency File[/etc/apt/sources.list.d] for
2011 Sep 14
10
fail to exec apt-get upgrade (change from notrun to 0 failed...)
So here is my manifest: class aguu { exec { "update": command => "apt-get update", path => "/usr/bin/" } exec { "upgrade": command => "apt-get upgrade -y", path => "/usr/bin/" } } It it supposed to run apt-get update + upgrade
2011 Dec 01
6
subscribe exec to a dir fails
Hi, I am trying to convince aptitude update to run only when a file changes in /etc/apt/sources.list.d: exec { <snip> "aptitude-update": command => "/usr/bin/aptitude update", subscribe => "$basedir/sources.list.d", refreshonly => true; } File { owner => ''root'', group =>
2010 Apr 02
2
Uncaught exception failed to allocate memory
Hi! I have a recipe that''s supposed to download ree from a master and install it. It looks like: # Install ree file { "/root/puppet-setup/ruby- enterprise_1.8.7-2010.01_amd64.deb": source => "puppet://$servername/files/ruby- enterprise_1.8.7-2010.01_amd64.deb", mode => 0644, owner => root, group => root, notify =>
2012 Jan 13
2
Problem with not installing package, exec do an error
Hello I have a list of successive package, and it occured that some package are not installed. exec { ''sudo gem update --system'': path => [''/usr/bin/''], alias => updateGem, } package { '' libmemcached-dev'': ensure => present, alias => memDev, require => Exec[updateGem], } package { '' libmemcached-dbg'':
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:
2013 Aug 20
2
How to handle apt-get -f install -y with Puppet
Hi All, I''m trying to install packages using the dpkg provider on Ubuntu that leave the package unconfigured because of missing dependencies. After installing all packages, I need to run "apt-get -f install -y" to fix the dependencies. Now with puppet I did not find a way to do so yet. I''m trying to do the following: ...... package { "mypackage":
2009 Oct 08
2
Installing libhildonfm2-dev for scratchbox
What seems to be an easy thing to do as to install a library into scratchbox is being something difficult to debug. The command "/scratchbox/moz_scratchbox -p apt-get --yes --force-yes install libhildonfm2-dev" can be run in a linux vm with the account "cltbld" without any problems but when I try to test it from this same slave (I remove first the package) or any other slave
2010 Aug 31
23
Puppet + APT, I am lost...
Hi, For the past week, I have been trying to figure out the best way to do package management with Puppet on an Ubuntu system. I have studied many solutons I found on the web, but none of them seem to do exactly what I want. Among other things, I have tried everything that is discussed here: http://groups.google.com/group/puppet-users/browse_thread/thread/af7349171a5821a4/db96b809c97f6006 but
2013 Aug 15
1
/usr/bin/apt-key: 8: /usr/bin/apt-key: mktemp: not found
When installing stackdriver on an ubuntu 12.04 machine, I get the following error: change from notrun to 0 failed: /usr/bin/apt-key: 8: /usr/bin/apt-key: mktemp: not found Based on the instructions here <http://feedback.stackdriver.com/knowledgebase/articles/206135-ubuntu> on their website, my resource is as follows: exec { ''add-stackdriver-key'': command =>
2013 Feb 18
2
Dependency Ordering Confusion
I have a module for windows nodes that is defined like: class ast_win { Class[''ast_win::env''] ~> Class[''ast_win::restart''] -> Class[''ast_win''] ast_win::env contains a bunch of scripts that modify the environment on the host machine. Mostly the PATH variable, but also other variables (e.g. http_proxy) that are required for
2013 Jul 23
1
Enviroment variables or Java startup -D arguments
Hi All, I have been searching around for a few hours now, but don''t seem to be using the correct search terms for the answer I need. So please forgive me if this is a question that has been answered 100 times :( I have seen many questions regarding enviroment variables, but non seem to be related. Again, I may be misunderstanding the vocabulary) I am setting up
2011 Mar 16
3
only one puppet client fails with yum
hello list.. I am sharing a yum configuration in a class (centos.pp) between two nodes. But the yum configuration doesn''t apply at all to one node even tho it does to another identically configured node. ## packages are failing to install via yum on one ec2 aws instance and another identical ec2 instance works fine [root@kromep2 ~]# cat /etc/redhat-release CentOS release 5.5 (Final)
2010 Mar 04
3
Dependency cycles, please help.
Hi, I''m having trouble writing a recipe to handle apache/passenger. First, here is my apache2 class, found here : http://www.reductivelabs.com/trac/puppet/wiki/Recipes/DebianApache2Recipe --------------------------------------------- $apache2_sites = "/etc/apache2/sites" $apache2_mods = "/etc/apache2/mods" class apache2 { [...] define module ( $ensure =
2007 Mar 09
2
Information from the real world into Puppet (simply)?
Hi, I''m trying retrieve some information from the real world from within puppet. I''d initially hoped that I could do this: $xen_version = exec { "apt-cache search xen-hypervisor | head -n 1 | cut -d- -f3-5": path => "/usr/bin:/usr/sbin:/bin", cwd => "/tmp", require => [
2013 Aug 19
3
Running classes alone
Hello! I''ve got a manifest that involves downloading and updating a bunch of different packages using apt, pip, etc. One of my apt-dependencies, dnsmasq<http://www.thekelleys.org.uk/dnsmasq/doc.html>, redirects the machine''s DNS. Any modules currently running at that time that use the internet get a temporary name resolution error. Unfortunately, I can''t
2007 Jun 07
1
ensuring apt-get update is run first
I''m trying to do bootstrapping of debian boxes using pxeboot, debian preseeding files and then puppet. Over time I''d like more and more to be done in puppet :) One issue I''m hitting is the repository configuration. Depending on the node configuration, I''m supplying various files (with repository information or proxy settings). I then have an update line.