datagovuk / dgu-vagrant-puppet

[unmaintained] Container environment for booting fresh DGU virtual machines. Create VMs with Vagrant, configure them with Puppet.
37 stars 29 forks source link

vagrant up fails with errors #33

Closed heinlja closed 10 years ago

heinlja commented 10 years ago

Tried installing dgu-vagrant-puppet togo branch yesterday, choosing the 1st option, i.e. to install on a Vagrant VM. But looks like "vagrant up" failed at some point in provisioning. I am able to do "vagrant ssh" and look around in the machine, but it probably should have created a CKAN database in postgresql, but there is no such thing. There are numerous errors in the "vagrant up" output below, perhaps you can shed some light on how to cure this:

laurikoobas@LAURIKOOBAS-PC /C/Users/laurikoobas/VagrantVMs/dgu2/dgu-vagrant-puppet (togo)
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 4.2.0
    default: VirtualBox Version: 4.3
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /src => C:/Users/laurikoobas/VagrantVMs/dgu2/dgu-vagrant-puppet/src
    default: /vagrant => C:/Users/laurikoobas/VagrantVMs/dgu2/dgu-vagrant-puppet
    default: /tmp/vagrant-puppet-3/manifests => C:/Users/laurikoobas/VagrantVMs/dgu2/dgu-vagrant-puppet/puppet/manifests
==> default: Running provisioner: shell...
    default: Running: C:/Users/LAURIK~1/AppData/Local/Temp/vagrant-shell20141001-3972-1razans.sh
==> default: stdin: is not a tty
==> default: Attempting to install git.
==> default: Ign http://security.ubuntu.com precise-security InRelease
==> default: Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B]
==> default: Get:2 http://security.ubuntu.com precise-security Release [50.7 kB]
==> default: Ign http://us.archive.ubuntu.com precise InRelease
==> default: Ign http://us.archive.ubuntu.com precise-updates InRelease
==> default: Ign http://us.archive.ubuntu.com precise-backports InRelease
==> default: Hit http://us.archive.ubuntu.com precise Release.gpg
==> default: Get:3 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
==> default: Get:4 http://us.archive.ubuntu.com precise-backports Release.gpg [198 B]
==> default: Hit http://us.archive.ubuntu.com precise Release
==> default: Get:5 http://security.ubuntu.com precise-security/main Sources [110 kB]
==> default: Get:6 http://us.archive.ubuntu.com precise-updates Release [98.7 kB]
==> default: Get:7 http://security.ubuntu.com precise-security/restricted Sources [2,494 B]
==> default: Get:8 http://security.ubuntu.com precise-security/universe Sources [32.7 kB]
==> default: Get:9 http://security.ubuntu.com precise-security/multiverse Sources [1,785 B]
==> default: Get:10 http://security.ubuntu.com precise-security/main amd64 Packages [426 kB]
==> default: Get:11 http://us.archive.ubuntu.com precise-backports Release [50.8 kB]
==> default: Hit http://us.archive.ubuntu.com precise/main Sources
==> default: Hit http://us.archive.ubuntu.com precise/restricted Sources
==> default: Hit http://us.archive.ubuntu.com precise/universe Sources
==> default: Hit http://us.archive.ubuntu.com precise/multiverse Sources
==> default: Hit http://us.archive.ubuntu.com precise/main amd64 Packages
==> default: Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
==> default: Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
==> default: Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
==> default: Hit http://us.archive.ubuntu.com precise/main i386 Packages
==> default: Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
==> default: Hit http://us.archive.ubuntu.com precise/universe i386 Packages
==> default: Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
==> default: Hit http://us.archive.ubuntu.com precise/main TranslationIndex
==> default: Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
==> default: Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
==> default: Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
==> default: Get:12 http://us.archive.ubuntu.com precise-updates/main Sources [479 kB]
==> default: Get:13 http://security.ubuntu.com precise-security/restricted amd64 Packages [4,627 B]
==> default: Get:14 http://security.ubuntu.com precise-security/universe amd64 Packages [98.1 kB]
==> default: Get:15 http://security.ubuntu.com precise-security/multiverse amd64 Packages [2,447 B]
==> default: Get:16 http://security.ubuntu.com precise-security/main i386 Packages [458 kB]
==> default: Get:17 http://security.ubuntu.com precise-security/restricted i386 Packages [4,620 B]
==> default: Get:18 http://security.ubuntu.com precise-security/universe i386 Packages [104 kB]
==> default: Get:19 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,638 B]
==> default: Get:20 http://security.ubuntu.com precise-security/main TranslationIndex [74 B]
==> default: Get:21 http://security.ubuntu.com precise-security/multiverse TranslationIndex [72 B]
==> default: Get:22 http://security.ubuntu.com precise-security/restricted TranslationIndex [72 B]
==> default: Get:23 http://security.ubuntu.com precise-security/universe TranslationIndex [73 B]
==> default: Get:24 http://security.ubuntu.com precise-security/main Translation-en [194 kB]
==> default: Get:25 http://security.ubuntu.com precise-security/multiverse Translation-en [1,299 B]
==> default: Get:26 http://security.ubuntu.com precise-security/restricted Translation-en [1,253 B]
==> default: Get:27 http://security.ubuntu.com precise-security/universe Translation-en [60.4 kB]
==> default: Get:28 http://us.archive.ubuntu.com precise-updates/restricted Sources [8,056 B]
==> default: Get:29 http://us.archive.ubuntu.com precise-updates/universe Sources [110 kB]
==> default: Get:30 http://us.archive.ubuntu.com precise-updates/multiverse Sources [8,886 B]
==> default: Get:31 http://us.archive.ubuntu.com precise-updates/main amd64 Packages [836 kB]
==> default: Get:32 http://us.archive.ubuntu.com precise-updates/restricted amd64 Packages [13.7 kB]
==> default: Get:33 http://us.archive.ubuntu.com precise-updates/universe amd64 Packages [248 kB]
==> default: Get:34 http://us.archive.ubuntu.com precise-updates/multiverse amd64 Packages [15.3 kB]
==> default: Get:35 http://us.archive.ubuntu.com precise-updates/main i386 Packages [867 kB]
==> default: Get:36 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [13.7 kB]
==> default: Get:37 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [255 kB]
==> default: Get:38 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [15.5 kB]
==> default: Get:39 http://us.archive.ubuntu.com precise-updates/main TranslationIndex [3,564 B]
==> default: Get:40 http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex [2,605 B]
==> default: Get:41 http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex [2,461 B]
==> default: Get:42 http://us.archive.ubuntu.com precise-updates/universe TranslationIndex [2,850 B]
==> default: Get:43 http://us.archive.ubuntu.com precise-backports/main Sources [5,551 B]
==> default: Get:44 http://us.archive.ubuntu.com precise-backports/restricted Sources [14 B]
==> default: Get:45 http://us.archive.ubuntu.com precise-backports/universe Sources [39.8 kB]
==> default: Get:46 http://us.archive.ubuntu.com precise-backports/multiverse Sources [5,737 B]
==> default: Get:47 http://us.archive.ubuntu.com precise-backports/main amd64 Packages [6,617 B]
==> default: Get:48 http://us.archive.ubuntu.com precise-backports/restricted amd64 Packages [14 B]
==> default: Get:49 http://us.archive.ubuntu.com precise-backports/universe amd64 Packages [42.8 kB]
==> default: Get:50 http://us.archive.ubuntu.com precise-backports/multiverse amd64 Packages [5,405 B]
==> default: Get:51 http://us.archive.ubuntu.com precise-backports/main i386 Packages [6,620 B]
==> default: Get:52 http://us.archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
==> default: Get:53 http://us.archive.ubuntu.com precise-backports/universe i386 Packages [42.7 kB]
==> default: Get:54 http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages [5,399 B]
==> default: Get:55 http://us.archive.ubuntu.com precise-backports/main TranslationIndex [72 B]
==> default: Get:56 http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex [72 B]
==> default: Get:57 http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex [70 B]
==> default: Get:58 http://us.archive.ubuntu.com precise-backports/universe TranslationIndex [73 B]
==> default: Hit http://us.archive.ubuntu.com precise/main Translation-en
==> default: Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
==> default: Hit http://us.archive.ubuntu.com precise/restricted Translation-en
==> default: Hit http://us.archive.ubuntu.com precise/universe Translation-en
==> default: Get:59 http://us.archive.ubuntu.com precise-updates/main Translation-en [368 kB]
==> default: Get:60 http://us.archive.ubuntu.com precise-updates/multiverse Translation-en [9,010 B]
==> default: Get:61 http://us.archive.ubuntu.com precise-updates/restricted Translation-en [3,027 B]
==> default: Get:62 http://us.archive.ubuntu.com precise-updates/universe Translation-en [144 kB]
==> default: Get:63 http://us.archive.ubuntu.com precise-backports/main Translation-en [5,990 B]
==> default: Get:64 http://us.archive.ubuntu.com precise-backports/multiverse Translation-en [4,838 B]
==> default: Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
==> default: Get:65 http://us.archive.ubuntu.com precise-backports/universe Translation-en [34.2 kB]
==> default: Fetched 5,317 kB in 40s (131 kB/s)
==> default: Reading package lists...
==> default: Reading package lists...
==> default: Building dependency tree...
==> default:
==> default: Reading state information...
==> default: The following extra packages will be installed:
==> default:   git-man liberror-perl patch
==> default: Suggested packages:
==> default:   git-daemon-run git-daemon-sysvinit git-doc git-el git-arch git-cvs git-svn
==> default:   git-email git-gui gitk gitweb diffutils-doc
==> default: The following NEW packages will be installed:
==> default:   git git-man liberror-perl patch
==> default: 0 upgraded, 4 newly installed, 0 to remove and 169 not upgraded.
==> default: Need to get 6,821 kB of archives.
==> default: After this operation, 15.5 MB of additional disk space will be used.
==> default: Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main liberror-perl all 0.17-1 [23.8 kB]
==> default: Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/main git-man all 1:1.7.9.5-1 [630 kB]
==> default: Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/main git amd64 1:1.7.9.5-1 [6,087 kB]
==> default: Get:4 http://us.archive.ubuntu.com/ubuntu/ precise/main patch amd64 2.6.1-3 [80.2 kB]
==> default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> default: Fetched 6,821 kB in 54s (125 kB/s)
==> default: Selecting previously unselected package liberror-perl.
==> default: (Reading database ...
==> default: 51095 files and directories currently installed.)
==> default: Unpacking liberror-perl (from .../liberror-perl_0.17-1_all.deb) ...
==> default: Selecting previously unselected package git-man.
==> default: Unpacking git-man (from .../git-man_1%3a1.7.9.5-1_all.deb) ...
==> default: Selecting previously unselected package git.
==> default: Unpacking git (from .../git_1%3a1.7.9.5-1_amd64.deb) ...
==> default: Selecting previously unselected package patch.
==> default: Unpacking patch (from .../patch_2.6.1-3_amd64.deb) ...
==> default: Processing triggers for man-db ...
==> default: Setting up liberror-perl (0.17-1) ...
==> default: Setting up git-man (1:1.7.9.5-1) ...
==> default: Setting up git (1:1.7.9.5-1) ...
==> default: Setting up patch (2.6.1-3) ...
==> default: git installed.
==> default: Successfully installed thor-0.19.1
==> default: Successfully installed librarian-0.1.2
==> default: Successfully installed librarian-puppet-1.0.3
==> default: 3 gems installed
==> default: Installing ri documentation for thor-0.19.1...
==> default: Installing ri documentation for librarian-0.1.2...
==> default: Installing ri documentation for librarian-puppet-1.0.3...
==> default: Installing RDoc documentation for thor-0.19.1...
==> default: Installing RDoc documentation for librarian-0.1.2...
==> default: Installing RDoc documentation for librarian-puppet-1.0.3...
==> default: Running provisioner: puppet...
==> default: Running Puppet with site.pp...
==> default: stdin: is not a tty
==> default: warning: Scope(Class[Python]): Could not look up qualified variable '::python::install::valid_versions'; class ::python::install has not been evaluated at /etc/puppet/modules/python/manifests/init.pp:73
==> default: warning: Scope(Class[Python]): Could not look up qualified variable '::python::install::valid_versions'; class ::python::install has not been evaluated at /etc/puppet/modules/python/manifests/init.pp:73
==> default: notice: /Stage[main]//Package[php5-mysql]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]//Package[php5-gd]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Dgu_ckan/File[/etc/init.d/jetty]/ensure: defined content as '{md5}98ff946151ba09a69360ac80aff5d485'
==> default: notice: /Stage[main]/Dgu_ckan/Package[openjdk-7-jre-headless]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Dgu_ckan/Package[libxslt1-dev]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Concat::Setup/File[/var/lib/puppet/concat]/ensure: created
==> default: notice: /Stage[main]/Concat::Setup/File[/var/lib/puppet/concat/bin]/ensure: created
==> default: notice: /Stage[main]/Concat::Setup/File[/var/lib/puppet/concat/bin/concatfragments.sh]/ensure: defined content as '{md5}7bbe7c5fce25a5ddd20415d909ba44fc'
==> default: notice: /Stage[main]//Package[screen]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Dgu_ckan/File[/tmp/create_postgis_template.sh]/ensure: defined content as '{md5}14a6a6717fe7964a1a8fe47af647b11a'
==> default: notice: /Stage[main]//File[/etc/motd]/ensure: defined content as '{md5}585b0982ce65215404f684bd20d5fbfa'
==> default: notice: /Stage[main]/Memcached/Package[memcached]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Memcached/Package[libmemcached-dev]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]//Package[mysql-server-5.5]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Dgu_ckan/Package[redis-server]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Dgu_ckan/Package[libpq-dev]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Postgresql::Client/Package[postgresql-client]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]//Package[php5-curl]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Dgu_ckan/File[/tmp/create_utf8_template.sh]/ensure: defined content as '{md5}78d9600bb24d8425d788a51d29d3c0ec'
==> default: notice: /Stage[main]//Package[curl]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Dgu_ckan/Package[rabbitmq-server]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Dgu_ckan/Package[python-pastescript]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Postgresql::Client/File[/usr/local/bin/validate_postgresql_connection.sh]/ensure: defined content as '{md5}20301932819f035492a30880f5bf335a'
==> default: notice: /Stage[main]//Package[pv]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Dgu_ckan/File[/etc/solr]/ensure: created
==> default: notice: /Stage[main]/Dgu_ckan/File[/etc/solr/conf]/ensure: created
==> default: notice: /Stage[main]/Apache::Mod::Prefork/Apache::Mpm[prefork]/Package[apache2-mpm-prefork]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Postgresql::Server::Install/Package[postgresql-server]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Sudo/File[/etc/sudoers.d/]/mode: mode changed '0755' to '0550'
==> default: notice: /Stage[main]//Sudo::Conf[sudo]/File[10_sudo]/ensure: created
==> default: notice: /Stage[main]/Dgu_ckan/User[solr]/ensure: created
==> default: notice: /Stage[main]/Dgu_ckan/File[/var/log/solr]/ensure: created
==> default: notice: /Stage[main]//Package[vim]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]//File[/etc/fqdn]/ensure: defined content as '{md5}a9c5f363a53f0f51790eff7299a0860f'
==> default: notice: /Stage[main]//Package[unzip]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Apache/Package[httpd]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Apache/File[/etc/apache2/apache2.conf]/content: content changed '{md5}8f5c4e0629a7c10aead1bf839cc57c72' to '{md5}f0c7c974f7e1bedcda1d87fc01cd1b7a'
==> default: notice: /File[/etc/apache2/conf.d/security]/ensure: removed
==> default: notice: /File[/etc/apache2/conf.d/localized-error-pages]/ensure: removed
==> default: notice: /Stage[main]/Apache::Mod::Mime/Apache::Mod[mime]/File[mime.load symlink]/target: target changed '../mods-available/mime.load' to '/etc/apache2/mods-available/mime.load'
==> default: notice: /Stage[main]/Apache::Default_mods/Apache::Mod[authz_groupfile]/File[authz_groupfile.load symlink]/target: target changed '../mods-available/authz_groupfile.load' to '/etc/apache2/mods-available/authz_groupfile.load'
==> default: notice: /Stage[main]/Apache::Mod::Mime/File[mime.conf]/content: content changed '{md5}00a92470c78b1573e94bf421d72a3806' to '{md5}2fa646fe615e44d137a5d629f868c107'
==> default: notice: /Stage[main]/Apache::Mod::Setenvif/File[setenvif.conf]/content: content changed '{md5}99d607cc2acf4e13b700b1e67a8f8503' to '{md5}c7ede4173da1915b7ec088201f030c28'
==> default: notice: /Stage[main]/Apache::Mod::Deflate/File[deflate.conf]/content: content changed '{md5}8c13524d3a4955810e6434ff388c3168' to '{md5}44d54f557a5612be8da04c49dd6da862'
==> default: notice: /Stage[main]/Apache::Mod::Negotiation/File[negotiation.conf]/content: content changed '{md5}25480201827ba22eef212617006c1491' to '{md5}47284b5580b986a6ba32580b6ffb9fd7'
==> default: notice: /Stage[main]/Apache::Mod::Negotiation/Apache::Mod[negotiation]/File[negotiation.conf symlink]/target: target changed '../mods-available/negotiation.conf' to '/etc/apache2/mods-available/negotiation.conf'
==> default: notice: /Stage[main]/Apache::Mod::Alias/Apache::Mod[alias]/File[alias.load symlink]/target: target changed '../mods-available/alias.load' to '/etc/apache2/mods-available/alias.load'
==> default: notice: /Stage[main]/Apache::Mod::Dir/File[dir.conf]/content: content changed '{md5}b6882491a6d2b823da960f19a50b132f' to '{md5}c741d8ea840e6eb999d739eed47c69d7'
==> default: notice: /Stage[main]/Apache::Mod::Dir/Apache::Mod[dir]/File[dir.conf symlink]/target: target changed '../mods-available/dir.conf' to '/etc/apache2/mods-available/dir.conf'
==> default: notice: /Stage[main]/Apache::Mod::Setenvif/Apache::Mod[setenvif]/File[setenvif.load symlink]/target: target changed '../mods-available/setenvif.load' to '/etc/apache2/mods-available/setenvif.load'
==> default: notice: /File[/etc/apache2/conf.d/charset]/ensure: removed
==> default: notice: /Stage[main]/Apache::Default_mods/Apache::Mod[auth_basic]/File[auth_basic.load symlink]/target: target changed '../mods-available/auth_basic.load' to '/etc/apache2/mods-available/auth_basic.load'
==> default: notice: /Stage[main]/Apache/Concat[/etc/apache2/ports.conf]/File[/var/lib/puppet/concat/_etc_apache2_ports.conf]/ensure: created
==> default: notice: /Stage[main]/Apache/Concat[/etc/apache2/ports.conf]/File[/var/lib/puppet/concat/_etc_apache2_ports.conf/fragments.concat.out]/ensure: created
==> default: notice: /File[/etc/apache2/sites-enabled/000-default]/ensure: removed
==> default: notice: /Stage[main]/Apache::Default_mods/Apache::Mod[authn_file]/File[authn_file.load symlink]/target: target changed '../mods-available/authn_file.load' to '/etc/apache2/mods-available/authn_file.load'
==> default: notice: /Stage[main]/Apache::Mod::Dav/Apache::Mod[dav]/File[dav.load symlink]/ensure: created
==> default: notice: /Stage[main]/Dgu_ckan/File[/var/ckan]/ensure: created
==> default: notice: /Stage[main]/Dgu_ckan/File[/var/ckan/data]/ensure: created
==> default: notice: /Stage[main]/Dgu_ckan/File[/var/ckan/wsgi_app.py]/ensure: defined content as '{md5}54b39cb1f3e775e940e694ed810582a9'
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Ckan_config_file[ckan_ini_file]/File[/var/ckan/ckan.ini]/ensure: defined content as '{md5}22df88c0668b26343dfb8282906fa675'
==> default: err: /Stage[main]/Dgu_ckan/File[/vagrant/src/ckan/ckan.ini]/ensure: change from absent to link failed: Could not set 'link on ensure: Protocol error - /var/ckan/ckan.ini or /vagrant/src/ckan/ckan.ini at /etc/puppet/modules/dgu_ckan/manifests/init.pp:219
==> default: notice: /Stage[main]/Dgu_ckan/File[/var/log/ckan]/ensure: created
==> default: notice: /Stage[main]/Dgu_ckan/File[/var/log/ckan/ckan.log]/ensure: created
==> default: notice: /Stage[main]/Dgu_ckan/File[/var/log/ckan/ckan-apache.error.log]/ensure: created
==> default: notice: /Stage[main]/Dgu_ckan/File[/var/ckan/who.ini]/ensure: defined content as '{md5}b464fcd543e00b5346d3db6b9b351df9'
==> default: notice: /File[/etc/apache2/conf.d/other-vhosts-access-log]/ensure: removed
==> default: notice: /Stage[main]/Apache::Mod::Prefork/File[/etc/apache2/mods-available/prefork.conf]/ensure: defined content as '{md5}109c4f51dac10fc1b39373855e566d01'
==> default: notice: /Stage[main]/Apache/Concat[/etc/apache2/ports.conf]/File[/var/lib/puppet/concat/_etc_apache2_ports.conf/fragments.concat]/ensure: created
==> default: notice: /Stage[main]/Apache::Mod::Dir/Apache::Mod[dir]/File[dir.load symlink]/target: target changed '../mods-available/dir.load' to '/etc/apache2/mods-available/dir.load'
==> default: notice: /Stage[main]/Apache::Mod::Mime/Apache::Mod[mime]/File[mime.conf symlink]/target: target changed '../mods-available/mime.conf' to '/etc/apache2/mods-available/mime.conf'
==> default: notice: /Stage[main]/Apache::Mod::Dav_fs/Apache::Mod[dav_fs]/File[dav_fs.load]/content: content changed '{md5}17f662fd023dbaaab9d89f9a11ae58c1' to '{md5}3fa14d6e9f9d8eb25d09ed4823508f6d'
==> default: notice: /Stage[main]/Apache::Mod::Dav_fs/Apache::Mod[dav_fs]/File[dav_fs.load symlink]/ensure: created
==> default: notice: /Stage[main]/Dgu_ckan/Apache::Mod[php5]/Package[libapache2-mod-php5]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Apache::Mod::Alias/File[alias.conf]/content: content changed '{md5}926033d21c2819e794c94a251355acc9' to '{md5}f6db1cc93bde9df82780cb98c2b33e77'
==> default: notice: /Stage[main]/Apache::Mod::Alias/Apache::Mod[alias]/File[alias.conf symlink]/target: target changed '../mods-available/alias.conf' to '/etc/apache2/mods-available/alias.conf'
==> default: notice: /Stage[main]/Dgu_ckan/File[/var/log/ckan/ckan-apache.custom.log]/ensure: created
==> default: notice: /Stage[main]/Apache::Mod::Negotiation/Apache::Mod[negotiation]/File[negotiation.load symlink]/target: target changed '../mods-available/negotiation.load' to '/etc/apache2/mods-available/negotiation.load'
==> default: notice: /Stage[main]/Apache/Concat[/etc/apache2/ports.conf]/File[/var/lib/puppet/concat/_etc_apache2_ports.conf/fragments]/ensure: created
==> default: notice: /Stage[main]/Dgu_ckan/Apache::Listen[80]/Concat::Fragment[Listen 80]/File[/var/lib/puppet/concat/_etc_apache2_ports.conf/fragments/10_Listen 80]/ensure: defined content as '{md5}d5fcefc335117f400d451de47efeca87'
==> default: notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_ident.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_ident.conf]/ensure: created
==> default: notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_ident.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_ident.conf/fragments.concat.out]/ensure: created
==> default: notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf]/ensure: created
==> default: notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments.concat]/ensure: created
==> default: notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments.concat.out]/ensure: created
==> default: notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_ident.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_ident.conf/fragments.concat]/ensure: created
==> default: notice: /Stage[main]/Apache::Mod::Reqtimeout/File[reqtimeout.conf]/content: content changed '{md5}f5104bdb13db79bd548728d5146931a7' to '{md5}81c51851ab7ee7942bef389dc7c0e985'
==> default: notice: /Stage[main]/Apache::Mod::Reqtimeout/Apache::Mod[reqtimeout]/File[reqtimeout.conf symlink]/target: target changed '../mods-available/reqtimeout.conf' to '/etc/apache2/mods-available/reqtimeout.conf'
==> default: notice: /Stage[main]/Apache::Mod::Reqtimeout/Apache::Mod[reqtimeout]/File[reqtimeout.load symlink]/target: target changed '../mods-available/reqtimeout.load' to '/etc/apache2/mods-available/reqtimeout.load'
==> default: notice: /File[/etc/apache2/sites-available/default-ssl]/ensure: removed
==> default: notice: /Stage[main]/Dgu_ckan/Apache::Mod[php5]/File[php5.load symlink]/target: target changed '../mods-available/php5.load' to '/etc/apache2/mods-available/php5.load'
==> default: notice: /Stage[main]/Apache::Mod::Setenvif/Apache::Mod[setenvif]/File[setenvif.conf symlink]/target: target changed '../mods-available/setenvif.conf' to '/etc/apache2/mods-available/setenvif.conf'
==> default: notice: /Stage[main]/Apache::Default_mods/Apache::Mod[authz_default]/File[authz_default.load symlink]/target: target changed '../mods-available/authz_default.load' to '/etc/apache2/mods-available/authz_default.load'
==> default: notice: /Stage[main]/Solr::Install/Puppi::Netinstall[netinstall_solr]/Exec[Retrieve http://archive.apache.org/dist/lucene/solr/4.3.1/solr-4.3.1.tgz in /var/tmp]/returns: executed successfully
==> default: notice: /Stage[main]/Solr::Install/Puppi::Netinstall[netinstall_solr]/Exec[Extract solr-4.3.1.tgz from /var/tmp]/returns: executed successfully
==> default: notice: /Stage[main]/Solr::Install/Puppi::Netinstall[netinstall_solr]/Exec[Chown solr-4.3.1.tgz in /usr/share/solr]: Triggered 'refresh' from 1 events
==> default: notice: /Stage[main]/Solr/File[solr.conf]/ensure: created
==> default: notice: /Stage[main]/Dgu_ckan/File[/usr/share/solr/solr-4.3.1/example/solr/collection1/conf/solrconfig.xml]/content: content changed '{md5}2c0ea6581084402df175cbb1bfbecc12' to '{md5}61b4e9139ed486a2b7a6d439b8dcd9b7'
==> default: notice: /Stage[main]/Dgu_ckan/Exec[setup_solr_core]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Exec[setup_solr_core]: Triggered 'refresh' from 2 events
==> default: notice: /Stage[main]/Apache::Mod::Proxy/Apache::Mod[proxy]/File[proxy.load symlink]/ensure: created
==> default: notice: /File[/etc/apache2/sites-available/default]/ensure: removed
==> default: notice: /Stage[main]/Dgu_ckan/File[apache_ckan_conf]/ensure: defined content as '{md5}0732eb52aee9e16860cf20318023a867'
==> default: notice: /Stage[main]/Apache::Mod::Deflate/Apache::Mod[deflate]/File[deflate.conf symlink]/target: target changed '../mods-available/deflate.conf' to '/etc/apache2/mods-available/deflate.conf'
==> default: notice: /Stage[main]/Apache::Mod::Deflate/Apache::Mod[deflate]/File[deflate.load symlink]/target: target changed '../mods-available/deflate.load' to '/etc/apache2/mods-available/deflate.load'
==> default: notice: /Stage[main]/Apache::Mod::Autoindex/Apache::Mod[autoindex]/File[autoindex.load symlink]/target: target changed '../mods-available/autoindex.load' to '/etc/apache2/mods-available/autoindex.load'
==> default: notice: /Stage[main]/Memcached/File[/etc/memcached.conf]/content: content changed '{md5}58c9e04b29e08c2e9b3094794d3ebd0e' to '{md5}75c4e8baea773a590664276b68147de1'
==> default: notice: /Stage[main]/Memcached/Service[memcached]: Triggered 'refresh' from 1 events
==> default: notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments]/ensure: created
==> default: notice: /Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[allow access to all users]/Concat::Fragment[pg_hba_rule_allow access to all users]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/100_pg_hba_rule_allow access to all users]/ensure
: defined content as '{md5}0c5966ab4591f092ef66ce333bb3f463'
==> default: notice: /Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[local access as postgres user]/Concat::Fragment[pg_hba_rule_local access as postgres user]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/001_pg_hba_rule_local access as postgres
user]/ensure: defined content as '{md5}03454101c43efbcdecc71dd3f734a68f'
==> default: notice: /Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[local access to database with same name]/Concat::Fragment[pg_hba_rule_local access to database with same name]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/002_pg_hba_rule_local
 access to database with same name]/ensure: defined content as '{md5}61275db6b21adbf53b575d4c1a6bbed1'
==> default: notice: /Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[allow localhost TCP access to postgresql user]/Concat::Fragment[pg_hba_rule_allow localhost TCP access to postgresql user]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/003_pg_hb
a_rule_allow localhost TCP access to postgresql user]/ensure: defined content as '{md5}f30c1a00a0759236b37352c32cd0e284'
==> default: notice: /Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[deny access to postgresql user]/Concat::Fragment[pg_hba_rule_deny access to postgresql user]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/004_pg_hba_rule_deny access to postgres
ql user]/ensure: defined content as '{md5}205b04b3328583b8330f59e37d55c8e8'
==> default: notice: /Stage[main]/Postgresql::Server::Config/Postgresql::Server::Config_entry[listen_addresses]/Postgresql_conf[listen_addresses]/ensure: created
==> default: notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_ident.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_ident.conf/fragments]/ensure: created
==> default: notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_ident.conf]/Exec[concat_/etc/postgresql/9.1/main/pg_ident.conf]/returns: executed successfully
==> default: notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_ident.conf]/Exec[concat_/etc/postgresql/9.1/main/pg_ident.conf]: Triggered 'refresh' from 2 events
==> default: notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_ident.conf]/File[/etc/postgresql/9.1/main/pg_ident.conf]/content: content changed '{md5}f11c8332d3f444148c0b8ee83ec5fc6d' to '{md5}9300ac105fe777787ac9e793b8df8d25'
==> default: notice: /Stage[main]/Dgu_ckan/File[solr_schema_xml]/content: content changed '{md5}a00d869bb60ccf72eff2c4ff723f184d' to '{md5}27d838f67cd94663084548de73662763'
==> default: notice: /Stage[main]/Apache::Mod::Autoindex/File[autoindex.conf]/content: content changed '{md5}77ea294b47d8d2e4dc68107907da8311' to '{md5}2421a3c6df32c7e38c2a7a22afdf5728'
==> default: notice: /Stage[main]/Apache::Mod::Autoindex/Apache::Mod[autoindex]/File[autoindex.conf symlink]/target: target changed '../mods-available/autoindex.conf' to '/etc/apache2/mods-available/autoindex.conf'
==> default: notice: /Stage[main]/Apache/Concat::Fragment[Apache ports header]/File[/var/lib/puppet/concat/_etc_apache2_ports.conf/fragments/10_Apache ports header]/ensure: defined content as '{md5}afe35cb5747574b700ebaa0f0b3a626e'
==> default: notice: /Stage[main]/Apache/Concat[/etc/apache2/ports.conf]/Exec[concat_/etc/apache2/ports.conf]/returns: executed successfully
==> default: notice: /Stage[main]/Apache/Concat[/etc/apache2/ports.conf]/Exec[concat_/etc/apache2/ports.conf]: Triggered 'refresh' from 4 events
==> default: notice: /Stage[main]/Apache/Concat[/etc/apache2/ports.conf]/File[/etc/apache2/ports.conf]/content: content changed '{md5}38b31d20326f3640a8dfbe1ff5d1c4ad' to '{md5}334fa5cddbf9a408ea1ca7a1666b1fc4'
==> default: notice: /Stage[main]/Apache::Mod::Prefork/Apache::Mpm[prefork]/File[/etc/apache2/mods-enabled/prefork.conf]/ensure: created
==> default: notice: /Stage[main]/Apache::Mod::Rewrite/Apache::Mod[rewrite]/File[rewrite.load symlink]/ensure: created
==> default: notice: /Stage[main]/Apache::Mod::Proxy/File[proxy.conf]/content: content changed '{md5}5b40618d1d3ec04e618b05581effd68a' to '{md5}9eab682d8c4c89abd0ff20c1a60b908d'
==> default: notice: /Stage[main]/Dgu_ckan/File[/var/ckan/sstore]/ensure: created
==> default: notice: CKAN's filesystem is ready.
==> default: notice: /Stage[main]/Dgu_ckan/Notify[ckan_fs_ready]/message: defined 'message' as 'CKAN's filesystem is ready.'
==> default: notice: /Stage[main]/Apache::Default_mods/Apache::Mod[authz_host]/File[authz_host.load symlink]/target: target changed '../mods-available/authz_host.load' to '/etc/apache2/mods-available/authz_host.load'
==> default: notice: /Stage[main]/Apache::Mod::Proxy/Apache::Mod[proxy]/File[proxy.conf symlink]/ensure: created
==> default: notice: /Stage[main]/Dgu_ckan/File[/etc/default/jetty]/ensure: defined content as '{md5}7230f736d205d929e31db196bd450a27'
==> default: err: /Stage[main]/Dgu_ckan/Service[jetty]/ensure: change from stopped to running failed: Could not start Service[jetty]: Execution of '/etc/init.d/jetty start' returned 127:  at /etc/puppet/modules/dgu_ckan/manifests/init.pp:473
==> default: notice: /Stage[main]/Dgu_ckan/Service[jetty]: Triggered 'refresh' from 5 events
==> default: notice: /Stage[main]//Sudo::Conf[sudo]/Exec[sudo-syntax-check for file /etc/sudoers.d/10_sudo]: Triggered 'refresh' from 1 events
==> default: notice: /Stage[main]/Apache::Default_mods/Apache::Mod[env]/File[env.load symlink]/target: target changed '../mods-available/env.load' to '/etc/apache2/mods-available/env.load'
==> default: notice: /Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[allow access to ipv6 localhost]/Concat::Fragment[pg_hba_rule_allow access to ipv6 localhost]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/101_pg_hba_rule_allow access to ipv6 lo
calhost]/ensure: defined content as '{md5}ab588822a007943223faadf86be3044a'
==> default: notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/Exec[concat_/etc/postgresql/9.1/main/pg_hba.conf]/returns: executed successfully
==> default: notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/Exec[concat_/etc/postgresql/9.1/main/pg_hba.conf]: Triggered 'refresh' from 8 events
==> default: notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/etc/postgresql/9.1/main/pg_hba.conf]/content: content changed '{md5}7694a77a71d01d43944f0ec2aa3fb165' to '{md5}c31ee6f98ede22591533e8056938c902'
==> default: notice: /Stage[main]/Nodejs/Apt::Ppa[ppa:chris-lea/node.js]/Package[python-software-properties]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Nodejs/Apt::Ppa[ppa:chris-lea/node.js]/Exec[add-apt-repository-ppa:chris-lea/node.js]/returns: executed successfully
==> default: notice: /Stage[main]/Apt::Update/Exec[apt_update]: Triggered 'refresh' from 1 events
==> default: notice: /Stage[main]/Nodejs/Package[nodejs]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Dgu_ckan/Package[grunt-cli]/ensure: created
==> default: notice: /Stage[main]//Group[co]/ensure: created
==> default: notice: /Stage[main]//User[co]/ensure: created
==> default: notice: /Stage[main]//File[/home/co/.bashrc]/ensure: ensure changed 'file' to 'link'
==> default: notice: /Stage[main]/Dgu_ckan/File[/home/co/.ssh/]/ensure: created
==> default: notice: /Stage[main]/Dgu_ckan/File[/home/co/.ssh/authorized_keys]/ensure: defined content as '{md5}b54f029e82c860f05c0fbdfef3ed6184'
==> default: notice: /Stage[main]/Dgu_ckan/File[/home/co/.noserc]/ensure: defined content as '{md5}277484b2d11d757482ac6d921c3d5a7b'
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! Error: EPERM, open '/src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/optipng-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed
_stream.js'
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!  { [Error: EPERM, open '/src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/optipng-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/del
ayed_stream.js']
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!   errno: 50,
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!   code: 'EPERM',
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!   path: '/src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/optipng-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js'
 }
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! Please try running this command again as root/Administrator.
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns:
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! System Linux 3.2.0-23-generic
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! cwd /src/shared_dguk_assets
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! node -v v0.10.32
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! npm -v 1.4.28
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! path /src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/optipng-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! code EPERM
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! errno 50
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! stack Error: EPERM, open '/src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/optipng-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/d
elayed_stream.js'
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN optional dep failed, continuing ycssmin@1.0.1
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! Error: EPERM, open '/src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/jpegtran-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delaye
d_stream.js'
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!  { [Error: EPERM, open '/src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/jpegtran-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/de
layed_stream.js']
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!   errno: 50,
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!   code: 'EPERM',
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!   path: '/src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/jpegtran-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js
' }
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! Please try running this command again as root/Administrator.
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns:
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! System Linux 3.2.0-23-generic
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! cwd /src/shared_dguk_assets
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! node -v v0.10.32
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! npm -v 1.4.28
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! path /src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/jpegtran-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! code EPERM
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! errno 50
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! stack Error: EPERM, open '/src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/jpegtran-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/
delayed_stream.js'
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! Error: EPERM, open '/src/shared_dguk_assets/node_modules/grunt-contrib-less/node_modules/less/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-
delayed-http-upload.js'
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!  { [Error: EPERM, open '/src/shared_dguk_assets/node_modules/grunt-contrib-less/node_modules/less/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/t
est-delayed-http-upload.js']
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!   errno: 50,
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!   code: 'EPERM',
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!   path: '/src/shared_dguk_assets/node_modules/grunt-contrib-less/node_modules/less/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-htt
p-upload.js' }
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! Please try running this command again as root/Administrator.
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns:
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! System Linux 3.2.0-23-generic
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! cwd /src/shared_dguk_assets
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! node -v v0.10.32
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! npm -v 1.4.28
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! path /src/shared_dguk_assets/node_modules/grunt-contrib-less/node_modules/less/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-http-up
load.js
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! code EPERM
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! errno 50
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! stack Error: EPERM, open '/src/shared_dguk_assets/node_modules/grunt-contrib-less/node_modules/less/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration
/test-delayed-http-upload.js'
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN optional dep failed, continuing ycssmin@1.0.1
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! not ok code 0
==> default: err: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: change from notrun to 0 failed: sudo npm install returned 50 instead of one of [0] at /etc/puppet/modules/dgu_ckan/manifests/init.pp:597
==> default: notice: /Stage[main]/Dgu_ckan/Exec[grunt_shared]: Dependency Exec[npm_deps_shared] has failures: true
==> default: warning: /Stage[main]/Dgu_ckan/Exec[grunt_shared]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Postgresql::Server::Service/Anchor[postgresql::server::service::begin]: Triggered 'refresh' from 1 events
==> default: notice: /Stage[main]/Postgresql::Server::Service/Service[postgresqld]: Triggered 'refresh' from 1 events
==> default: notice: /Stage[main]/Postgresql::Server::Service/Postgresql::Validate_db_connection[validate_service_is_running]/Exec[validate postgres connection for /postgres]: Triggered 'refresh' from 1 events
==> default: notice: /Stage[main]/Postgresql::Server::Service/Anchor[postgresql::server::service::end]: Triggered 'refresh' from 1 events
==> default: notice: /Stage[main]/Postgresql::Server::Reload/Exec[postgresql_reload]: Triggered 'refresh' from 1 events
==> default: notice: /Stage[main]/Postgresql::Server::Passwd/Exec[set_postgres_postgrespw]/returns: ALTER ROLE
==> default: notice: /Stage[main]/Postgresql::Server::Passwd/Exec[set_postgres_postgrespw]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Postgresql::Server::Role[ckan_default]/Postgresql_psql[CREATE ROLE "ckan_default" ENCRYPTED PASSWORD 'md55371973b6a925d285c554feaeb575e19' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER  CONNECTION LIMIT -1]/command: command changed 'notrun' to 'CREATE ROLE "cka
n_default" ENCRYPTED PASSWORD 'md55371973b6a925d285c554feaeb575e19' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER  CONNECTION LIMIT -1'
==> default: notice: /Stage[main]/Dgu_ckan/Package[postgresql-9.1-postgis]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Dgu_ckan/Postgresql::Server::Role[co]/Postgresql_psql[CREATE ROLE "co" ENCRYPTED PASSWORD 'md5600d89f1c751597c01c5cbbdabba7d34' LOGIN CREATEROLE CREATEDB SUPERUSER  CONNECTION LIMIT -1]/command: command changed 'notrun' to 'CREATE ROLE "co" ENCRYPTED PASSWORD 'md560
0d89f1c751597c01c5cbbdabba7d34' LOGIN CREATEROLE CREATEDB SUPERUSER  CONNECTION LIMIT -1'
==> default: notice: /Stage[main]/Dgu_ckan/Postgresql::Server::Role[co]/Postgresql_psql[ALTER ROLE "co" NOREPLICATION]/command: command changed 'notrun' to 'ALTER ROLE "co" NOREPLICATION'
==> default: err: /Stage[main]/Dgu_ckan/Exec[createdb postgis_template]/returns: change from notrun to 0 failed: /tmp/create_postgis_template.sh ckan_default returned 1 instead of one of [0] at /etc/puppet/modules/dgu_ckan/manifests/init.pp:385
==> default: err: /Stage[main]/Dgu_ckan/Exec[createdb utf8_template]/returns: change from notrun to 0 failed: /tmp/create_utf8_template.sh returned 1 instead of one of [0] at /etc/puppet/modules/dgu_ckan/manifests/init.pp:395
==> default: notice: /Stage[main]/Dgu_ckan/Exec[createdb ckan_test]: Dependency Exec[createdb utf8_template] has failures: true
==> default: warning: /Stage[main]/Dgu_ckan/Exec[createdb ckan_test]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Dgu_ckan/Package[python-psycopg2]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Dgu_ckan/Apache::Mod[wsgi]/Package[libapache2-mod-wsgi]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Dgu_ckan/Apache::Mod[wsgi]/File[wsgi.load symlink]/target: target changed '../mods-available/wsgi.load' to '/etc/apache2/mods-available/wsgi.load'
==> default: notice: /Stage[main]/Apache::Mod::Dav_fs/File[dav_fs.conf]/content: content changed '{md5}9d5c750538bf58538c558b907ca924f1' to '{md5}e36e2951cff0d4df331652ca6fccdb77'
==> default: notice: /Stage[main]/Apache::Mod::Dav_fs/Apache::Mod[dav_fs]/File[dav_fs.conf symlink]/ensure: created
==> default: notice: /Stage[main]/Dgu_ckan/Postgresql::Server::Role[dgu]/Postgresql_psql[CREATE ROLE "dgu" ENCRYPTED PASSWORD 'md51d4fe45e0bdb2591d2c09146f5e61cb6' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER  CONNECTION LIMIT -1]/command: command changed 'notrun' to 'CREATE ROLE "dgu" ENCRYPTED PASSWO
RD 'md51d4fe45e0bdb2591d2c09146f5e61cb6' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER  CONNECTION LIMIT -1'
==> default: notice: /Stage[main]/Dgu_ckan/Exec[createdb ckan]: Dependency Exec[createdb postgis_template] has failures: true
==> default: warning: /Stage[main]/Dgu_ckan/Exec[createdb ckan]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Python::Install/Package[python-pip]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Python::Install/Package[python-virtualenv]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Python::Install/Package[python-dev]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Dgu_ckan/Python::Virtualenv[/home/co/ckan]/File[/home/co/ckan]/ensure: created
==> default: notice: /Stage[main]/Dgu_ckan/Python::Virtualenv[/home/co/ckan]/Exec[python_virtualenv_/home/co/ckan]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[unicodecsv==0.9.4]/Exec[pip_install_unicodecsv==0.9.4]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ofs==0.4.1]/Exec[pip_install_ofs==0.4.1]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Jinja2==2.7]/Exec[pip_install_Jinja2==2.7]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[factory-boy==2.1.1]/Exec[pip_install_factory-boy==2.1.1]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Werkzeug==0.8.3]/Exec[pip_install_Werkzeug==0.8.3]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[fanstatic==0.12]/Exec[pip_install_fanstatic==0.12]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[python-openid==2.2.5]/Exec[pip_install_python-openid==2.2.5]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[pyutilib.component.core==4.6]/Exec[pip_install_pyutilib.component.core==4.6]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[messytables==0.10.0]/Exec[pip_install_messytables==0.10.0]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[FormAlchemy==1.4.2]/Exec[pip_install_FormAlchemy==1.4.2]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[requests==1.1]/Exec[pip_install_requests==1.1]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[WebTest==1.4.3]/Exec[pip_install_WebTest==1.4.3]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[chardet==2.1.1]/Exec[pip_install_chardet==2.1.1]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[simplejson==2.6.2]/Exec[pip_install_simplejson==2.6.2]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[anyjson==0.3.3]/Exec[pip_install_anyjson==0.3.3]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[amqplib==1.0.2]/Exec[pip_install_amqplib==1.0.2]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[lxml==3.2.4]/Exec[pip_install_lxml==3.2.4]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[httplib2==0.8]/Exec[pip_install_httplib2==0.8]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[apachemiddleware==0.1.1]/Exec[pip_install_apachemiddleware==0.1.1]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Pylons==0.9.7]/Exec[pip_install_Pylons==0.9.7]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[nose==1.3.0]/Exec[pip_install_nose==1.3.0]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[sqlalchemy-migrate==0.7.2]/Exec[pip_install_sqlalchemy-migrate==0.7.2]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[celery==2.4.2]/Exec[pip_install_celery==2.4.2]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[WebHelpers==1.3]/Exec[pip_install_WebHelpers==1.3]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[psycopg2==2.4.5]/Exec[pip_install_psycopg2==2.4.5]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[MarkupSafe==0.15]/Exec[pip_install_MarkupSafe==0.15]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[pep8==1.4.6]/Exec[pip_install_pep8==1.4.6]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[redis==2.9.1]/Exec[pip_install_redis==2.9.1]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[gdata==2.0.17]/Exec[pip_install_gdata==2.0.17]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[WebOb==1.0.8]/Exec[pip_install_WebOb==1.0.8]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[WebError==0.10.3]/Exec[pip_install_WebError==0.10.3]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[FormEncode==1.2.4]/Exec[pip_install_FormEncode==1.2.4]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Mako==0.8.1]/Exec[pip_install_Mako==0.8.1]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[repoze.who-friendlyform==1.0.8]/Exec[pip_install_repoze.who-friendlyform==1.0.8]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[repoze.who.plugins.openid==0.5.3]/Exec[pip_install_repoze.who.plugins.openid==0.5.3]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ConcurrentLogHandler==0.8.4]/Exec[pip_install_ConcurrentLogHandler==0.8.4]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[mock==1.0.1]/Exec[pip_install_mock==1.0.1]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Pygments==1.6]/Exec[pip_install_Pygments==1.6]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[json-table-schema==0.1]/Exec[pip_install_json-table-schema==0.1]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[autoneg==0.5]/Exec[pip_install_autoneg==0.5]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[repoze.who==1.0.19]/Exec[pip_install_repoze.who==1.0.19]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[xlrd==0.9.2]/Exec[pip_install_xlrd==0.9.2]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Beaker==1.6.3]/Exec[pip_install_Beaker==1.6.3]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Genshi==0.6]/Exec[pip_install_Genshi==0.6]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[PasteScript==1.7.5]/Exec[pip_install_PasteScript==1.7.5]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[pytz==2012j]/Exec[pip_install_pytz==2012j]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[kombu-sqlalchemy==1.1.0]/Exec[pip_install_kombu-sqlalchemy==1.1.0]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[SQLAlchemy==0.7.8]/Exec[pip_install_SQLAlchemy==0.7.8]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Tempita==0.5.1]/Exec[pip_install_Tempita==0.5.1]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[decorator==3.3.2]/Exec[pip_install_decorator==3.3.2]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Babel==0.9.6]/Exec[pip_install_Babel==0.9.6]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[python-dateutil==1.5]/Exec[pip_install_python-dateutil==1.5]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Pairtree==0.7.1-T]/Exec[pip_install_Pairtree==0.7.1-T]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[pylibmc]/Exec[pip_install_pylibmc]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Routes==1.13]/Exec[pip_install_Routes==1.13]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[zope.interface==4.0.1]/Exec[pip_install_zope.interface==4.0.1]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[kombu==2.1.3]/Exec[pip_install_kombu==2.1.3]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[vdm==0.11]/Exec[pip_install_vdm==0.11]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[PasteDeploy==1.5.0]/Exec[pip_install_PasteDeploy==1.5.0]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[PyMollom==0.1]/Exec[pip_install_PyMollom==0.1]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[OWSLib==0.8.2]/Exec[pip_install_OWSLib==0.8.2]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[flup==1.0.2]/Exec[pip_install_flup==1.0.2]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanclient==0.10]/Exec[pip_install_ckanclient==0.10]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[solrpy==0.9.5]/Exec[pip_install_solrpy==0.9.5]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[google-api-python-client==1.1]/Exec[pip_install_google-api-python-client==1.1]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[nltk==2.0.4]/Exec[pip_install_nltk==2.0.4]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[python-gflags==2.0]/Exec[pip_install_python-gflags==2.0]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[GeoAlchemy==0.7.2]/Exec[pip_install_GeoAlchemy==0.7.2]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Paste==1.7.5.1]/Exec[pip_install_Paste==1.7.5.1]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Flask==0.8]/Exec[pip_install_Flask==0.8]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[python-magic==0.4.3]/Exec[pip_install_python-magic==0.4.3]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[carrot==0.10.1]/Exec[pip_install_carrot==0.10.1]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[datautil==0.4]/Exec[pip_install_datautil==0.4]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[openpyxl==1.5.7]/Exec[pip_install_openpyxl==1.5.7]/returns: executed successfully
==> default: notice: /Stage[main]/Apache::Mod::Cgi/Apache::Mod[cgi]/File[cgi.load symlink]/target: target changed '../mods-available/cgi.load' to '/etc/apache2/mods-available/cgi.load'
==> default: notice: /Stage[main]/Apache::Default_mods/Apache::Mod[authz_user]/File[authz_user.load symlink]/target: target changed '../mods-available/authz_user.load' to '/etc/apache2/mods-available/authz_user.load'
==> default: notice: /File[/etc/apache2/mods-enabled/php5.conf]/ensure: removed
==> default: notice: /File[/etc/apache2/mods-enabled/status.load]/ensure: removed
==> default: notice: /File[/etc/apache2/mods-enabled/wsgi.conf]/ensure: removed
==> default: notice: /File[/etc/apache2/mods-enabled/status.conf]/ensure: removed
==> default: notice: /Stage[main]/Apache::Service/Service[httpd]: Triggered 'refresh' from 46 events
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Shapely==1.2.17]/Exec[pip_install_Shapely==1.2.17]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-ga-report]/Exec[pip_install_ckanext-ga-report]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-spatial]/Exec[pip_install_ckanext-spatial]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckan]/Exec[pip_install_ckan]/returns: Ignoring indexes: https://pypi.python.org/simple/
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckan]/Exec[pip_install_ckan]/returns: Directory '/src/ckan' is not installable. File 'setup.py' not found.
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckan]/Exec[pip_install_ckan]/returns: Storing debug log for failure in /home/co/ckan/pip.log
==> default: err: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckan]/Exec[pip_install_ckan]/returns: change from notrun to 0 failed: /home/co/ckan/bin/pip install --no-index --find-links=file:///vagrant/pypi --log-file /home/co/ckan/pip.log -e /src/ckan returned 1 instead of one of [0] at /etc/puppet
/modules/dgu_ckan/manifests/pip_package.pp:22
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-os]/Exec[pip_install_ckanext-os]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-qa]/Exec[pip_install_ckanext-qa]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-dgu-local]/Exec[pip_install_ckanext-dgu-local]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-report]/Exec[pip_install_ckanext-report]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-dgu]/Exec[pip_install_ckanext-dgu]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-hierarchy]/Exec[pip_install_ckanext-hierarchy]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[logreporter]/Exec[pip_install_logreporter]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-archiver]/Exec[pip_install_ckanext-archiver]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-importlib]/Exec[pip_install_ckanext-importlib]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-harvest]/Exec[pip_install_ckanext-harvest]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-datapreview]/Exec[pip_install_ckanext-datapreview]/returns: executed successfully
==> default: notice: /Stage[main]/Dgu_ckan/Exec[setup_virtualenv_permissions]: Dependency Exec[pip_install_ckan] has failures: true
==> default: warning: /Stage[main]/Dgu_ckan/Exec[setup_virtualenv_permissions]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Dgu_ckan/Exec[setup_virtualenv_permissions]: Triggered 'refresh' from 87 events
==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_dgu]: Dependency Exec[pip_install_ckan] has failures: true
==> default: warning: /Stage[main]/Dgu_ckan/Exec[npm_deps_dgu]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Dgu_ckan/Exec[grunt_dgu]: Dependency Exec[pip_install_ckan] has failures: true
==> default: warning: /Stage[main]/Dgu_ckan/Exec[grunt_dgu]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Dgu_ckan/Notify[virtualenv_ready]: Dependency Exec[pip_install_ckan] has failures: true
==> default: warning: /Stage[main]/Dgu_ckan/Notify[virtualenv_ready]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster db init]: Dependency Exec[pip_install_ckan] has failures: true
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster db init]: Dependency Exec[createdb postgis_template] has failures: true
==> default: warning: /Stage[main]/Dgu_ckan/Exec[paster db init]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns: Traceback (most recent call last):
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:   File "/home/co/ckan/bin/paster", line 9, in <module>
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:     load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:   File "/home/co/ckan/local/lib/python2.7/site-packages/paste/script/command.py", line 93, in run
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:     commands = get_commands()
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:   File "/home/co/ckan/local/lib/python2.7/site-packages/paste/script/command.py", line 135, in get_commands
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:     plugins = pluginlib.resolve_plugins(plugins)
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:   File "/home/co/ckan/local/lib/python2.7/site-packages/paste/script/pluginlib.py", line 82, in resolve_plugins
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:     pkg_resources.require(plugin)
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:   File "/home/co/ckan/local/lib/python2.7/site-packages/pkg_resources.py", line 728, in require
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:     needed = self.resolve(parse_requirements(requirements))
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:   File "/home/co/ckan/local/lib/python2.7/site-packages/pkg_resources.py", line 622, in resolve
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:     raise DistributionNotFound(req)
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns: pkg_resources.DistributionNotFound: Not Found: ckan (did you run python setup.py develop?)
==> default: err: /Stage[main]/Dgu_ckan/Exec[paster db init]: Failed to call refresh: /home/co/ckan/bin/paster --plugin=ckan db init --config=/var/ckan/ckan.ini returned 1 instead of one of [0] at /etc/puppet/modules/dgu_ckan/manifests/init.pp:313
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster archiver init]: Dependency Exec[pip_install_ckan] has failures: true
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster archiver init]: Dependency Exec[createdb postgis_template] has failures: true
==> default: warning: /Stage[main]/Dgu_ckan/Exec[paster archiver init]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster inventory init]: Dependency Exec[pip_install_ckan] has failures: true
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster inventory init]: Dependency Exec[createdb postgis_template] has failures: true
==> default: warning: /Stage[main]/Dgu_ckan/Exec[paster inventory init]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster qa init]: Dependency Exec[pip_install_ckan] has failures: true
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster qa init]: Dependency Exec[createdb postgis_template] has failures: true
==> default: warning: /Stage[main]/Dgu_ckan/Exec[paster qa init]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster dgu_local init]: Dependency Exec[pip_install_ckan] has failures: true
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster dgu_local init]: Dependency Exec[createdb postgis_template] has failures: true
==> default: warning: /Stage[main]/Dgu_ckan/Exec[paster dgu_local init]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster ga_reports init]: Dependency Exec[pip_install_ckan] has failures: true
==> default: notice: /Stage[main]/Dgu_ckan/Exec[paster ga_reports init]: Dependency Exec[createdb postgis_template] has failures: true
==> default: warning: /Stage[main]/Dgu_ckan/Exec[paster ga_reports init]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Dgu_ckan/Notify[db_ready]: Dependency Exec[pip_install_ckan] has failures: true
==> default: notice: /Stage[main]/Dgu_ckan/Notify[db_ready]: Dependency Exec[createdb postgis_template] has failures: true
==> default: warning: /Stage[main]/Dgu_ckan/Notify[db_ready]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Dgu_ckan/Exec[a2ensite ckan.conf]: Dependency Exec[pip_install_ckan] has failures: true
==> default: notice: /Stage[main]/Dgu_ckan/Exec[a2ensite ckan.conf]: Dependency Service[jetty] has failures: true
==> default: notice: /Stage[main]/Dgu_ckan/Exec[a2ensite ckan.conf]: Dependency Exec[createdb postgis_template] has failures: true
==> default: warning: /Stage[main]/Dgu_ckan/Exec[a2ensite ckan.conf]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Dgu_ckan/Exec[a2ensite ckan.conf]: Triggered 'refresh' from 1 events
==> default: notice: Finished catalog run in 2816.74 seconds
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

FACTER_motd='Built by Vagrant using librarian-puppet.' FACTER_fqdn='ckan.home' FACTER_pgpasswd='pass' puppet apply --manifestdir /tmp/vagrant-puppet-3/manifests --detailed-exitcodes /tmp/vagrant-puppet-3/manifests/site.pp

Stdout from the command:

warning: Scope(Class[Python]): Could not look up qualified variable '::python::install::valid_versions'; class ::python::install has not been evaluated at /etc/puppet/modules/python/manifests/init.pp:73
warning: Scope(Class[Python]): Could not look up qualified variable '::python::install::valid_versions'; class ::python::install has not been evaluated at /etc/puppet/modules/python/manifests/init.pp:73
notice: /Stage[main]//Package[php5-mysql]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]//Package[php5-gd]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Dgu_ckan/File[/etc/init.d/jetty]/ensure: defined content as '{md5}98ff946151ba09a69360ac80aff5d485'
notice: /Stage[main]/Dgu_ckan/Package[openjdk-7-jre-headless]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Dgu_ckan/Package[libxslt1-dev]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Concat::Setup/File[/var/lib/puppet/concat]/ensure: created
notice: /Stage[main]/Concat::Setup/File[/var/lib/puppet/concat/bin]/ensure: created
notice: /Stage[main]/Concat::Setup/File[/var/lib/puppet/concat/bin/concatfragments.sh]/ensure: defined content as '{md5}7bbe7c5fce25a5ddd20415d909ba44fc'
notice: /Stage[main]//Package[screen]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Dgu_ckan/File[/tmp/create_postgis_template.sh]/ensure: defined content as '{md5}14a6a6717fe7964a1a8fe47af647b11a'
notice: /Stage[main]//File[/etc/motd]/ensure: defined content as '{md5}585b0982ce65215404f684bd20d5fbfa'
notice: /Stage[main]/Memcached/Package[memcached]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Memcached/Package[libmemcached-dev]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]//Package[mysql-server-5.5]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Dgu_ckan/Package[redis-server]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Dgu_ckan/Package[libpq-dev]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Postgresql::Client/Package[postgresql-client]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]//Package[php5-curl]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Dgu_ckan/File[/tmp/create_utf8_template.sh]/ensure: defined content as '{md5}78d9600bb24d8425d788a51d29d3c0ec'
notice: /Stage[main]//Package[curl]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Dgu_ckan/Package[rabbitmq-server]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Dgu_ckan/Package[python-pastescript]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Postgresql::Client/File[/usr/local/bin/validate_postgresql_connection.sh]/ensure: defined content as '{md5}20301932819f035492a30880f5bf335a'
notice: /Stage[main]//Package[pv]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Dgu_ckan/File[/etc/solr]/ensure: created
notice: /Stage[main]/Dgu_ckan/File[/etc/solr/conf]/ensure: created
notice: /Stage[main]/Apache::Mod::Prefork/Apache::Mpm[prefork]/Package[apache2-mpm-prefork]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Postgresql::Server::Install/Package[postgresql-server]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Sudo/File[/etc/sudoers.d/]/mode: mode changed '0755' to '0550'
notice: /Stage[main]//Sudo::Conf[sudo]/File[10_sudo]/ensure: created
notice: /Stage[main]/Dgu_ckan/User[solr]/ensure: created
notice: /Stage[main]/Dgu_ckan/File[/var/log/solr]/ensure: created
notice: /Stage[main]//Package[vim]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]//File[/etc/fqdn]/ensure: defined content as '{md5}a9c5f363a53f0f51790eff7299a0860f'
notice: /Stage[main]//Package[unzip]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Apache/Package[httpd]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Apache/File[/etc/apache2/apache2.conf]/content: content changed '{md5}8f5c4e0629a7c10aead1bf839cc57c72' to '{md5}f0c7c974f7e1bedcda1d87fc01cd1b7a'
notice: /File[/etc/apache2/conf.d/security]/ensure: removed
notice: /File[/etc/apache2/conf.d/localized-error-pages]/ensure: removed
notice: /Stage[main]/Apache::Mod::Mime/Apache::Mod[mime]/File[mime.load symlink]/target: target changed '../mods-available/mime.load' to '/etc/apache2/mods-available/mime.load'
notice: /Stage[main]/Apache::Default_mods/Apache::Mod[authz_groupfile]/File[authz_groupfile.load symlink]/target: target changed '../mods-available/authz_groupfile.load' to '/etc/apache2/mods-available/authz_groupfile.load'
notice: /Stage[main]/Apache::Mod::Mime/File[mime.conf]/content: content changed '{md5}00a92470c78b1573e94bf421d72a3806' to '{md5}2fa646fe615e44d137a5d629f868c107'
notice: /Stage[main]/Apache::Mod::Setenvif/File[setenvif.conf]/content: content changed '{md5}99d607cc2acf4e13b700b1e67a8f8503' to '{md5}c7ede4173da1915b7ec088201f030c28'
notice: /Stage[main]/Apache::Mod::Deflate/File[deflate.conf]/content: content changed '{md5}8c13524d3a4955810e6434ff388c3168' to '{md5}44d54f557a5612be8da04c49dd6da862'
notice: /Stage[main]/Apache::Mod::Negotiation/File[negotiation.conf]/content: content changed '{md5}25480201827ba22eef212617006c1491' to '{md5}47284b5580b986a6ba32580b6ffb9fd7'
notice: /Stage[main]/Apache::Mod::Negotiation/Apache::Mod[negotiation]/File[negotiation.conf symlink]/target: target changed '../mods-available/negotiation.conf' to '/etc/apache2/mods-available/negotiation.conf'
notice: /Stage[main]/Apache::Mod::Alias/Apache::Mod[alias]/File[alias.load symlink]/target: target changed '../mods-available/alias.load' to '/etc/apache2/mods-available/alias.load'
notice: /Stage[main]/Apache::Mod::Dir/File[dir.conf]/content: content changed '{md5}b6882491a6d2b823da960f19a50b132f' to '{md5}c741d8ea840e6eb999d739eed47c69d7'
notice: /Stage[main]/Apache::Mod::Dir/Apache::Mod[dir]/File[dir.conf symlink]/target: target changed '../mods-available/dir.conf' to '/etc/apache2/mods-available/dir.conf'
notice: /Stage[main]/Apache::Mod::Setenvif/Apache::Mod[setenvif]/File[setenvif.load symlink]/target: target changed '../mods-available/setenvif.load' to '/etc/apache2/mods-available/setenvif.load'
notice: /File[/etc/apache2/conf.d/charset]/ensure: removed
notice: /Stage[main]/Apache::Default_mods/Apache::Mod[auth_basic]/File[auth_basic.load symlink]/target: target changed '../mods-available/auth_basic.load' to '/etc/apache2/mods-available/auth_basic.load'
notice: /Stage[main]/Apache/Concat[/etc/apache2/ports.conf]/File[/var/lib/puppet/concat/_etc_apache2_ports.conf]/ensure: created
notice: /Stage[main]/Apache/Concat[/etc/apache2/ports.conf]/File[/var/lib/puppet/concat/_etc_apache2_ports.conf/fragments.concat.out]/ensure: created
notice: /File[/etc/apache2/sites-enabled/000-default]/ensure: removed
notice: /Stage[main]/Apache::Default_mods/Apache::Mod[authn_file]/File[authn_file.load symlink]/target: target changed '../mods-available/authn_file.load' to '/etc/apache2/mods-available/authn_file.load'
notice: /Stage[main]/Apache::Mod::Dav/Apache::Mod[dav]/File[dav.load symlink]/ensure: created
notice: /Stage[main]/Dgu_ckan/File[/var/ckan]/ensure: created
notice: /Stage[main]/Dgu_ckan/File[/var/ckan/data]/ensure: created
notice: /Stage[main]/Dgu_ckan/File[/var/ckan/wsgi_app.py]/ensure: defined content as '{md5}54b39cb1f3e775e940e694ed810582a9'
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Ckan_config_file[ckan_ini_file]/File[/var/ckan/ckan.ini]/ensure: defined content as '{md5}22df88c0668b26343dfb8282906fa675'
err: /Stage[main]/Dgu_ckan/File[/vagrant/src/ckan/ckan.ini]/ensure: change from absent to link failed: Could not set 'link on ensure: Protocol error - /var/ckan/ckan.ini or /vagrant/src/ckan/ckan.ini at /etc/puppet/modules/dgu_ckan/manifests/init.pp:219
notice: /Stage[main]/Dgu_ckan/File[/var/log/ckan]/ensure: created
notice: /Stage[main]/Dgu_ckan/File[/var/log/ckan/ckan.log]/ensure: created
notice: /Stage[main]/Dgu_ckan/File[/var/log/ckan/ckan-apache.error.log]/ensure: created
notice: /Stage[main]/Dgu_ckan/File[/var/ckan/who.ini]/ensure: defined content as '{md5}b464fcd543e00b5346d3db6b9b351df9'
notice: /File[/etc/apache2/conf.d/other-vhosts-access-log]/ensure: removed
notice: /Stage[main]/Apache::Mod::Prefork/File[/etc/apache2/mods-available/prefork.conf]/ensure: defined content as '{md5}109c4f51dac10fc1b39373855e566d01'
notice: /Stage[main]/Apache/Concat[/etc/apache2/ports.conf]/File[/var/lib/puppet/concat/_etc_apache2_ports.conf/fragments.concat]/ensure: created
notice: /Stage[main]/Apache::Mod::Dir/Apache::Mod[dir]/File[dir.load symlink]/target: target changed '../mods-available/dir.load' to '/etc/apache2/mods-available/dir.load'
notice: /Stage[main]/Apache::Mod::Mime/Apache::Mod[mime]/File[mime.conf symlink]/target: target changed '../mods-available/mime.conf' to '/etc/apache2/mods-available/mime.conf'
notice: /Stage[main]/Apache::Mod::Dav_fs/Apache::Mod[dav_fs]/File[dav_fs.load]/content: content changed '{md5}17f662fd023dbaaab9d89f9a11ae58c1' to '{md5}3fa14d6e9f9d8eb25d09ed4823508f6d'
notice: /Stage[main]/Apache::Mod::Dav_fs/Apache::Mod[dav_fs]/File[dav_fs.load symlink]/ensure: created
notice: /Stage[main]/Dgu_ckan/Apache::Mod[php5]/Package[libapache2-mod-php5]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Apache::Mod::Alias/File[alias.conf]/content: content changed '{md5}926033d21c2819e794c94a251355acc9' to '{md5}f6db1cc93bde9df82780cb98c2b33e77'
notice: /Stage[main]/Apache::Mod::Alias/Apache::Mod[alias]/File[alias.conf symlink]/target: target changed '../mods-available/alias.conf' to '/etc/apache2/mods-available/alias.conf'
notice: /Stage[main]/Dgu_ckan/File[/var/log/ckan/ckan-apache.custom.log]/ensure: created
notice: /Stage[main]/Apache::Mod::Negotiation/Apache::Mod[negotiation]/File[negotiation.load symlink]/target: target changed '../mods-available/negotiation.load' to '/etc/apache2/mods-available/negotiation.load'
notice: /Stage[main]/Apache/Concat[/etc/apache2/ports.conf]/File[/var/lib/puppet/concat/_etc_apache2_ports.conf/fragments]/ensure: created
notice: /Stage[main]/Dgu_ckan/Apache::Listen[80]/Concat::Fragment[Listen 80]/File[/var/lib/puppet/concat/_etc_apache2_ports.conf/fragments/10_Listen 80]/ensure: defined content as '{md5}d5fcefc335117f400d451de47efeca87'
notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_ident.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_ident.conf]/ensure: created
notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_ident.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_ident.conf/fragments.concat.out]/ensure: created
notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf]/ensure: created
notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments.concat]/ensure: created
notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments.concat.out]/ensure: created
notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_ident.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_ident.conf/fragments.concat]/ensure: created
notice: /Stage[main]/Apache::Mod::Reqtimeout/File[reqtimeout.conf]/content: content changed '{md5}f5104bdb13db79bd548728d5146931a7' to '{md5}81c51851ab7ee7942bef389dc7c0e985'
notice: /Stage[main]/Apache::Mod::Reqtimeout/Apache::Mod[reqtimeout]/File[reqtimeout.conf symlink]/target: target changed '../mods-available/reqtimeout.conf' to '/etc/apache2/mods-available/reqtimeout.conf'
notice: /Stage[main]/Apache::Mod::Reqtimeout/Apache::Mod[reqtimeout]/File[reqtimeout.load symlink]/target: target changed '../mods-available/reqtimeout.load' to '/etc/apache2/mods-available/reqtimeout.load'
notice: /File[/etc/apache2/sites-available/default-ssl]/ensure: removed
notice: /Stage[main]/Dgu_ckan/Apache::Mod[php5]/File[php5.load symlink]/target: target changed '../mods-available/php5.load' to '/etc/apache2/mods-available/php5.load'
notice: /Stage[main]/Apache::Mod::Setenvif/Apache::Mod[setenvif]/File[setenvif.conf symlink]/target: target changed '../mods-available/setenvif.conf' to '/etc/apache2/mods-available/setenvif.conf'
notice: /Stage[main]/Apache::Default_mods/Apache::Mod[authz_default]/File[authz_default.load symlink]/target: target changed '../mods-available/authz_default.load' to '/etc/apache2/mods-available/authz_default.load'
notice: /Stage[main]/Solr::Install/Puppi::Netinstall[netinstall_solr]/Exec[Retrieve http://archive.apache.org/dist/lucene/solr/4.3.1/solr-4.3.1.tgz in /var/tmp]/returns: executed successfully
notice: /Stage[main]/Solr::Install/Puppi::Netinstall[netinstall_solr]/Exec[Extract solr-4.3.1.tgz from /var/tmp]/returns: executed successfully
notice: /Stage[main]/Solr::Install/Puppi::Netinstall[netinstall_solr]/Exec[Chown solr-4.3.1.tgz in /usr/share/solr]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Solr/File[solr.conf]/ensure: created
notice: /Stage[main]/Dgu_ckan/File[/usr/share/solr/solr-4.3.1/example/solr/collection1/conf/solrconfig.xml]/content: content changed '{md5}2c0ea6581084402df175cbb1bfbecc12' to '{md5}61b4e9139ed486a2b7a6d439b8dcd9b7'
notice: /Stage[main]/Dgu_ckan/Exec[setup_solr_core]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Exec[setup_solr_core]: Triggered 'refresh' from 2 events
notice: /Stage[main]/Apache::Mod::Proxy/Apache::Mod[proxy]/File[proxy.load symlink]/ensure: created
notice: /File[/etc/apache2/sites-available/default]/ensure: removed
notice: /Stage[main]/Dgu_ckan/File[apache_ckan_conf]/ensure: defined content as '{md5}0732eb52aee9e16860cf20318023a867'
notice: /Stage[main]/Apache::Mod::Deflate/Apache::Mod[deflate]/File[deflate.conf symlink]/target: target changed '../mods-available/deflate.conf' to '/etc/apache2/mods-available/deflate.conf'
notice: /Stage[main]/Apache::Mod::Deflate/Apache::Mod[deflate]/File[deflate.load symlink]/target: target changed '../mods-available/deflate.load' to '/etc/apache2/mods-available/deflate.load'
notice: /Stage[main]/Apache::Mod::Autoindex/Apache::Mod[autoindex]/File[autoindex.load symlink]/target: target changed '../mods-available/autoindex.load' to '/etc/apache2/mods-available/autoindex.load'
notice: /Stage[main]/Memcached/File[/etc/memcached.conf]/content: content changed '{md5}58c9e04b29e08c2e9b3094794d3ebd0e' to '{md5}75c4e8baea773a590664276b68147de1'
notice: /Stage[main]/Memcached/Service[memcached]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments]/ensure: created
notice: /Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[allow access to all users]/Concat::Fragment[pg_hba_rule_allow access to all users]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/100_pg_hba_rule_allow access to all users]/ensure: defined con
tent as '{md5}0c5966ab4591f092ef66ce333bb3f463'
notice: /Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[local access as postgres user]/Concat::Fragment[pg_hba_rule_local access as postgres user]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/001_pg_hba_rule_local access as postgres user]/ensure:
 defined content as '{md5}03454101c43efbcdecc71dd3f734a68f'
notice: /Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[local access to database with same name]/Concat::Fragment[pg_hba_rule_local access to database with same name]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/002_pg_hba_rule_local access to da
tabase with same name]/ensure: defined content as '{md5}61275db6b21adbf53b575d4c1a6bbed1'
notice: /Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[allow localhost TCP access to postgresql user]/Concat::Fragment[pg_hba_rule_allow localhost TCP access to postgresql user]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/003_pg_hba_rule_allow
localhost TCP access to postgresql user]/ensure: defined content as '{md5}f30c1a00a0759236b37352c32cd0e284'
notice: /Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[deny access to postgresql user]/Concat::Fragment[pg_hba_rule_deny access to postgresql user]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/004_pg_hba_rule_deny access to postgresql user]/ensu
re: defined content as '{md5}205b04b3328583b8330f59e37d55c8e8'
notice: /Stage[main]/Postgresql::Server::Config/Postgresql::Server::Config_entry[listen_addresses]/Postgresql_conf[listen_addresses]/ensure: created
notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_ident.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_ident.conf/fragments]/ensure: created
notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_ident.conf]/Exec[concat_/etc/postgresql/9.1/main/pg_ident.conf]/returns: executed successfully
notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_ident.conf]/Exec[concat_/etc/postgresql/9.1/main/pg_ident.conf]: Triggered 'refresh' from 2 events
notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_ident.conf]/File[/etc/postgresql/9.1/main/pg_ident.conf]/content: content changed '{md5}f11c8332d3f444148c0b8ee83ec5fc6d' to '{md5}9300ac105fe777787ac9e793b8df8d25'
notice: /Stage[main]/Dgu_ckan/File[solr_schema_xml]/content: content changed '{md5}a00d869bb60ccf72eff2c4ff723f184d' to '{md5}27d838f67cd94663084548de73662763'
notice: /Stage[main]/Apache::Mod::Autoindex/File[autoindex.conf]/content: content changed '{md5}77ea294b47d8d2e4dc68107907da8311' to '{md5}2421a3c6df32c7e38c2a7a22afdf5728'
notice: /Stage[main]/Apache::Mod::Autoindex/Apache::Mod[autoindex]/File[autoindex.conf symlink]/target: target changed '../mods-available/autoindex.conf' to '/etc/apache2/mods-available/autoindex.conf'
notice: /Stage[main]/Apache/Concat::Fragment[Apache ports header]/File[/var/lib/puppet/concat/_etc_apache2_ports.conf/fragments/10_Apache ports header]/ensure: defined content as '{md5}afe35cb5747574b700ebaa0f0b3a626e'
notice: /Stage[main]/Apache/Concat[/etc/apache2/ports.conf]/Exec[concat_/etc/apache2/ports.conf]/returns: executed successfully
notice: /Stage[main]/Apache/Concat[/etc/apache2/ports.conf]/Exec[concat_/etc/apache2/ports.conf]: Triggered 'refresh' from 4 events
notice: /Stage[main]/Apache/Concat[/etc/apache2/ports.conf]/File[/etc/apache2/ports.conf]/content: content changed '{md5}38b31d20326f3640a8dfbe1ff5d1c4ad' to '{md5}334fa5cddbf9a408ea1ca7a1666b1fc4'
notice: /Stage[main]/Apache::Mod::Prefork/Apache::Mpm[prefork]/File[/etc/apache2/mods-enabled/prefork.conf]/ensure: created
notice: /Stage[main]/Apache::Mod::Rewrite/Apache::Mod[rewrite]/File[rewrite.load symlink]/ensure: created
notice: /Stage[main]/Apache::Mod::Proxy/File[proxy.conf]/content: content changed '{md5}5b40618d1d3ec04e618b05581effd68a' to '{md5}9eab682d8c4c89abd0ff20c1a60b908d'
notice: /Stage[main]/Dgu_ckan/File[/var/ckan/sstore]/ensure: created
notice: CKAN's filesystem is ready.
notice: /Stage[main]/Dgu_ckan/Notify[ckan_fs_ready]/message: defined 'message' as 'CKAN's filesystem is ready.'
notice: /Stage[main]/Apache::Default_mods/Apache::Mod[authz_host]/File[authz_host.load symlink]/target: target changed '../mods-available/authz_host.load' to '/etc/apache2/mods-available/authz_host.load'
notice: /Stage[main]/Apache::Mod::Proxy/Apache::Mod[proxy]/File[proxy.conf symlink]/ensure: created
notice: /Stage[main]/Dgu_ckan/File[/etc/default/jetty]/ensure: defined content as '{md5}7230f736d205d929e31db196bd450a27'
err: /Stage[main]/Dgu_ckan/Service[jetty]/ensure: change from stopped to running failed: Could not start Service[jetty]: Execution of '/etc/init.d/jetty start' returned 127:  at /etc/puppet/modules/dgu_ckan/manifests/init.pp:473
notice: /Stage[main]/Dgu_ckan/Service[jetty]: Triggered 'refresh' from 5 events
notice: /Stage[main]//Sudo::Conf[sudo]/Exec[sudo-syntax-check for file /etc/sudoers.d/10_sudo]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Apache::Default_mods/Apache::Mod[env]/File[env.load symlink]/target: target changed '../mods-available/env.load' to '/etc/apache2/mods-available/env.load'
notice: /Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[allow access to ipv6 localhost]/Concat::Fragment[pg_hba_rule_allow access to ipv6 localhost]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/101_pg_hba_rule_allow access to ipv6 localhost]/ensu
re: defined content as '{md5}ab588822a007943223faadf86be3044a'
notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/Exec[concat_/etc/postgresql/9.1/main/pg_hba.conf]/returns: executed successfully
notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/Exec[concat_/etc/postgresql/9.1/main/pg_hba.conf]: Triggered 'refresh' from 8 events
notice: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/etc/postgresql/9.1/main/pg_hba.conf]/content: content changed '{md5}7694a77a71d01d43944f0ec2aa3fb165' to '{md5}c31ee6f98ede22591533e8056938c902'
notice: /Stage[main]/Nodejs/Apt::Ppa[ppa:chris-lea/node.js]/Package[python-software-properties]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Nodejs/Apt::Ppa[ppa:chris-lea/node.js]/Exec[add-apt-repository-ppa:chris-lea/node.js]/returns: executed successfully
notice: /Stage[main]/Apt::Update/Exec[apt_update]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Nodejs/Package[nodejs]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Dgu_ckan/Package[grunt-cli]/ensure: created
notice: /Stage[main]//Group[co]/ensure: created
notice: /Stage[main]//User[co]/ensure: created
notice: /Stage[main]//File[/home/co/.bashrc]/ensure: ensure changed 'file' to 'link'
notice: /Stage[main]/Dgu_ckan/File[/home/co/.ssh/]/ensure: created
notice: /Stage[main]/Dgu_ckan/File[/home/co/.ssh/authorized_keys]/ensure: defined content as '{md5}b54f029e82c860f05c0fbdfef3ed6184'
notice: /Stage[main]/Dgu_ckan/File[/home/co/.noserc]/ensure: defined content as '{md5}277484b2d11d757482ac6d921c3d5a7b'
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! Error: EPERM, open '/src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/optipng-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js'
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!  { [Error: EPERM, open '/src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/optipng-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.j
s']
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!   errno: 50,
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!   code: 'EPERM',
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!   path: '/src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/optipng-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js' }
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! Please try running this command again as root/Administrator.
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns:
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! System Linux 3.2.0-23-generic
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! cwd /src/shared_dguk_assets
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! node -v v0.10.32
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! npm -v 1.4.28
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! path /src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/optipng-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! code EPERM
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! errno 50
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! stack Error: EPERM, open '/src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/optipng-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream
.js'
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN optional dep failed, continuing ycssmin@1.0.1
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! Error: EPERM, open '/src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/jpegtran-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js'
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!  { [Error: EPERM, open '/src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/jpegtran-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.
js']
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!   errno: 50,
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!   code: 'EPERM',
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!   path: '/src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/jpegtran-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js' }
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! Please try running this command again as root/Administrator.
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns:
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! System Linux 3.2.0-23-generic
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! cwd /src/shared_dguk_assets
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! node -v v0.10.32
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! npm -v 1.4.28
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! path /src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/jpegtran-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! code EPERM
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! errno 50
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! stack Error: EPERM, open '/src/shared_dguk_assets/node_modules/grunt-contrib-imagemin/node_modules/jpegtran-bin/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_strea
m.js'
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! Error: EPERM, open '/src/shared_dguk_assets/node_modules/grunt-contrib-less/node_modules/less/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-http-
upload.js'
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!  { [Error: EPERM, open '/src/shared_dguk_assets/node_modules/grunt-contrib-less/node_modules/less/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-h
ttp-upload.js']
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!   errno: 50,
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!   code: 'EPERM',
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!   path: '/src/shared_dguk_assets/node_modules/grunt-contrib-less/node_modules/less/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-http-upload.js'
}
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR!
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! Please try running this command again as root/Administrator.
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns:
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! System Linux 3.2.0-23-generic
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! cwd /src/shared_dguk_assets
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! node -v v0.10.32
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! npm -v 1.4.28
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! path /src/shared_dguk_assets/node_modules/grunt-contrib-less/node_modules/less/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-http-upload.js
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! code EPERM
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! errno 50
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! stack Error: EPERM, open '/src/shared_dguk_assets/node_modules/grunt-contrib-less/node_modules/less/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed
-http-upload.js'
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm WARN optional dep failed, continuing ycssmin@1.0.1
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! not ok code 0
err: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: change from notrun to 0 failed: sudo npm install returned 50 instead of one of [0] at /etc/puppet/modules/dgu_ckan/manifests/init.pp:597
notice: /Stage[main]/Dgu_ckan/Exec[grunt_shared]: Dependency Exec[npm_deps_shared] has failures: true
warning: /Stage[main]/Dgu_ckan/Exec[grunt_shared]: Skipping because of failed dependencies
notice: /Stage[main]/Postgresql::Server::Service/Anchor[postgresql::server::service::begin]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Postgresql::Server::Service/Service[postgresqld]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Postgresql::Server::Service/Postgresql::Validate_db_connection[validate_service_is_running]/Exec[validate postgres connection for /postgres]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Postgresql::Server::Service/Anchor[postgresql::server::service::end]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Postgresql::Server::Reload/Exec[postgresql_reload]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Postgresql::Server::Passwd/Exec[set_postgres_postgrespw]/returns: ALTER ROLE
notice: /Stage[main]/Postgresql::Server::Passwd/Exec[set_postgres_postgrespw]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Postgresql::Server::Role[ckan_default]/Postgresql_psql[CREATE ROLE "ckan_default" ENCRYPTED PASSWORD 'md55371973b6a925d285c554feaeb575e19' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER  CONNECTION LIMIT -1]/command: command changed 'notrun' to 'CREATE ROLE "ckan_default" EN
CRYPTED PASSWORD 'md55371973b6a925d285c554feaeb575e19' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER  CONNECTION LIMIT -1'
notice: /Stage[main]/Dgu_ckan/Package[postgresql-9.1-postgis]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Dgu_ckan/Postgresql::Server::Role[co]/Postgresql_psql[CREATE ROLE "co" ENCRYPTED PASSWORD 'md5600d89f1c751597c01c5cbbdabba7d34' LOGIN CREATEROLE CREATEDB SUPERUSER  CONNECTION LIMIT -1]/command: command changed 'notrun' to 'CREATE ROLE "co" ENCRYPTED PASSWORD 'md5600d89f1c751597
c01c5cbbdabba7d34' LOGIN CREATEROLE CREATEDB SUPERUSER  CONNECTION LIMIT -1'
notice: /Stage[main]/Dgu_ckan/Postgresql::Server::Role[co]/Postgresql_psql[ALTER ROLE "co" NOREPLICATION]/command: command changed 'notrun' to 'ALTER ROLE "co" NOREPLICATION'
err: /Stage[main]/Dgu_ckan/Exec[createdb postgis_template]/returns: change from notrun to 0 failed: /tmp/create_postgis_template.sh ckan_default returned 1 instead of one of [0] at /etc/puppet/modules/dgu_ckan/manifests/init.pp:385
err: /Stage[main]/Dgu_ckan/Exec[createdb utf8_template]/returns: change from notrun to 0 failed: /tmp/create_utf8_template.sh returned 1 instead of one of [0] at /etc/puppet/modules/dgu_ckan/manifests/init.pp:395
notice: /Stage[main]/Dgu_ckan/Exec[createdb ckan_test]: Dependency Exec[createdb utf8_template] has failures: true
warning: /Stage[main]/Dgu_ckan/Exec[createdb ckan_test]: Skipping because of failed dependencies
notice: /Stage[main]/Dgu_ckan/Package[python-psycopg2]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Dgu_ckan/Apache::Mod[wsgi]/Package[libapache2-mod-wsgi]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Dgu_ckan/Apache::Mod[wsgi]/File[wsgi.load symlink]/target: target changed '../mods-available/wsgi.load' to '/etc/apache2/mods-available/wsgi.load'
notice: /Stage[main]/Apache::Mod::Dav_fs/File[dav_fs.conf]/content: content changed '{md5}9d5c750538bf58538c558b907ca924f1' to '{md5}e36e2951cff0d4df331652ca6fccdb77'
notice: /Stage[main]/Apache::Mod::Dav_fs/Apache::Mod[dav_fs]/File[dav_fs.conf symlink]/ensure: created
notice: /Stage[main]/Dgu_ckan/Postgresql::Server::Role[dgu]/Postgresql_psql[CREATE ROLE "dgu" ENCRYPTED PASSWORD 'md51d4fe45e0bdb2591d2c09146f5e61cb6' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER  CONNECTION LIMIT -1]/command: command changed 'notrun' to 'CREATE ROLE "dgu" ENCRYPTED PASSWORD 'md51d4fe4
5e0bdb2591d2c09146f5e61cb6' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER  CONNECTION LIMIT -1'
notice: /Stage[main]/Dgu_ckan/Exec[createdb ckan]: Dependency Exec[createdb postgis_template] has failures: true
warning: /Stage[main]/Dgu_ckan/Exec[createdb ckan]: Skipping because of failed dependencies
notice: /Stage[main]/Python::Install/Package[python-pip]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Python::Install/Package[python-virtualenv]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Python::Install/Package[python-dev]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Dgu_ckan/Python::Virtualenv[/home/co/ckan]/File[/home/co/ckan]/ensure: created
notice: /Stage[main]/Dgu_ckan/Python::Virtualenv[/home/co/ckan]/Exec[python_virtualenv_/home/co/ckan]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[unicodecsv==0.9.4]/Exec[pip_install_unicodecsv==0.9.4]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ofs==0.4.1]/Exec[pip_install_ofs==0.4.1]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Jinja2==2.7]/Exec[pip_install_Jinja2==2.7]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[factory-boy==2.1.1]/Exec[pip_install_factory-boy==2.1.1]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Werkzeug==0.8.3]/Exec[pip_install_Werkzeug==0.8.3]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[fanstatic==0.12]/Exec[pip_install_fanstatic==0.12]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[python-openid==2.2.5]/Exec[pip_install_python-openid==2.2.5]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[pyutilib.component.core==4.6]/Exec[pip_install_pyutilib.component.core==4.6]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[messytables==0.10.0]/Exec[pip_install_messytables==0.10.0]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[FormAlchemy==1.4.2]/Exec[pip_install_FormAlchemy==1.4.2]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[requests==1.1]/Exec[pip_install_requests==1.1]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[WebTest==1.4.3]/Exec[pip_install_WebTest==1.4.3]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[chardet==2.1.1]/Exec[pip_install_chardet==2.1.1]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[simplejson==2.6.2]/Exec[pip_install_simplejson==2.6.2]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[anyjson==0.3.3]/Exec[pip_install_anyjson==0.3.3]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[amqplib==1.0.2]/Exec[pip_install_amqplib==1.0.2]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[lxml==3.2.4]/Exec[pip_install_lxml==3.2.4]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[httplib2==0.8]/Exec[pip_install_httplib2==0.8]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[apachemiddleware==0.1.1]/Exec[pip_install_apachemiddleware==0.1.1]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Pylons==0.9.7]/Exec[pip_install_Pylons==0.9.7]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[nose==1.3.0]/Exec[pip_install_nose==1.3.0]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[sqlalchemy-migrate==0.7.2]/Exec[pip_install_sqlalchemy-migrate==0.7.2]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[celery==2.4.2]/Exec[pip_install_celery==2.4.2]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[WebHelpers==1.3]/Exec[pip_install_WebHelpers==1.3]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[psycopg2==2.4.5]/Exec[pip_install_psycopg2==2.4.5]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[MarkupSafe==0.15]/Exec[pip_install_MarkupSafe==0.15]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[pep8==1.4.6]/Exec[pip_install_pep8==1.4.6]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[redis==2.9.1]/Exec[pip_install_redis==2.9.1]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[gdata==2.0.17]/Exec[pip_install_gdata==2.0.17]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[WebOb==1.0.8]/Exec[pip_install_WebOb==1.0.8]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[WebError==0.10.3]/Exec[pip_install_WebError==0.10.3]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[FormEncode==1.2.4]/Exec[pip_install_FormEncode==1.2.4]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Mako==0.8.1]/Exec[pip_install_Mako==0.8.1]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[repoze.who-friendlyform==1.0.8]/Exec[pip_install_repoze.who-friendlyform==1.0.8]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[repoze.who.plugins.openid==0.5.3]/Exec[pip_install_repoze.who.plugins.openid==0.5.3]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ConcurrentLogHandler==0.8.4]/Exec[pip_install_ConcurrentLogHandler==0.8.4]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[mock==1.0.1]/Exec[pip_install_mock==1.0.1]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Pygments==1.6]/Exec[pip_install_Pygments==1.6]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[json-table-schema==0.1]/Exec[pip_install_json-table-schema==0.1]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[autoneg==0.5]/Exec[pip_install_autoneg==0.5]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[repoze.who==1.0.19]/Exec[pip_install_repoze.who==1.0.19]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[xlrd==0.9.2]/Exec[pip_install_xlrd==0.9.2]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Beaker==1.6.3]/Exec[pip_install_Beaker==1.6.3]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Genshi==0.6]/Exec[pip_install_Genshi==0.6]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[PasteScript==1.7.5]/Exec[pip_install_PasteScript==1.7.5]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[pytz==2012j]/Exec[pip_install_pytz==2012j]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[kombu-sqlalchemy==1.1.0]/Exec[pip_install_kombu-sqlalchemy==1.1.0]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[SQLAlchemy==0.7.8]/Exec[pip_install_SQLAlchemy==0.7.8]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Tempita==0.5.1]/Exec[pip_install_Tempita==0.5.1]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[decorator==3.3.2]/Exec[pip_install_decorator==3.3.2]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Babel==0.9.6]/Exec[pip_install_Babel==0.9.6]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[python-dateutil==1.5]/Exec[pip_install_python-dateutil==1.5]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Pairtree==0.7.1-T]/Exec[pip_install_Pairtree==0.7.1-T]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[pylibmc]/Exec[pip_install_pylibmc]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Routes==1.13]/Exec[pip_install_Routes==1.13]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[zope.interface==4.0.1]/Exec[pip_install_zope.interface==4.0.1]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[kombu==2.1.3]/Exec[pip_install_kombu==2.1.3]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[vdm==0.11]/Exec[pip_install_vdm==0.11]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[PasteDeploy==1.5.0]/Exec[pip_install_PasteDeploy==1.5.0]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[PyMollom==0.1]/Exec[pip_install_PyMollom==0.1]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[OWSLib==0.8.2]/Exec[pip_install_OWSLib==0.8.2]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[flup==1.0.2]/Exec[pip_install_flup==1.0.2]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanclient==0.10]/Exec[pip_install_ckanclient==0.10]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[solrpy==0.9.5]/Exec[pip_install_solrpy==0.9.5]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[google-api-python-client==1.1]/Exec[pip_install_google-api-python-client==1.1]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[nltk==2.0.4]/Exec[pip_install_nltk==2.0.4]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[python-gflags==2.0]/Exec[pip_install_python-gflags==2.0]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[GeoAlchemy==0.7.2]/Exec[pip_install_GeoAlchemy==0.7.2]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Paste==1.7.5.1]/Exec[pip_install_Paste==1.7.5.1]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Flask==0.8]/Exec[pip_install_Flask==0.8]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[python-magic==0.4.3]/Exec[pip_install_python-magic==0.4.3]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[carrot==0.10.1]/Exec[pip_install_carrot==0.10.1]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[datautil==0.4]/Exec[pip_install_datautil==0.4]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[openpyxl==1.5.7]/Exec[pip_install_openpyxl==1.5.7]/returns: executed successfully
notice: /Stage[main]/Apache::Mod::Cgi/Apache::Mod[cgi]/File[cgi.load symlink]/target: target changed '../mods-available/cgi.load' to '/etc/apache2/mods-available/cgi.load'
notice: /Stage[main]/Apache::Default_mods/Apache::Mod[authz_user]/File[authz_user.load symlink]/target: target changed '../mods-available/authz_user.load' to '/etc/apache2/mods-available/authz_user.load'
notice: /File[/etc/apache2/mods-enabled/php5.conf]/ensure: removed
notice: /File[/etc/apache2/mods-enabled/status.load]/ensure: removed
notice: /File[/etc/apache2/mods-enabled/wsgi.conf]/ensure: removed
notice: /File[/etc/apache2/mods-enabled/status.conf]/ensure: removed
notice: /Stage[main]/Apache::Service/Service[httpd]: Triggered 'refresh' from 46 events
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[Shapely==1.2.17]/Exec[pip_install_Shapely==1.2.17]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-ga-report]/Exec[pip_install_ckanext-ga-report]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-spatial]/Exec[pip_install_ckanext-spatial]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckan]/Exec[pip_install_ckan]/returns: Ignoring indexes: https://pypi.python.org/simple/
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckan]/Exec[pip_install_ckan]/returns: Directory '/src/ckan' is not installable. File 'setup.py' not found.
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckan]/Exec[pip_install_ckan]/returns: Storing debug log for failure in /home/co/ckan/pip.log
err: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckan]/Exec[pip_install_ckan]/returns: change from notrun to 0 failed: /home/co/ckan/bin/pip install --no-index --find-links=file:///vagrant/pypi --log-file /home/co/ckan/pip.log -e /src/ckan returned 1 instead of one of [0] at /etc/puppet/modules/dgu_
ckan/manifests/pip_package.pp:22
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-os]/Exec[pip_install_ckanext-os]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-qa]/Exec[pip_install_ckanext-qa]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-dgu-local]/Exec[pip_install_ckanext-dgu-local]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-report]/Exec[pip_install_ckanext-report]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-dgu]/Exec[pip_install_ckanext-dgu]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-hierarchy]/Exec[pip_install_ckanext-hierarchy]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[logreporter]/Exec[pip_install_logreporter]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-archiver]/Exec[pip_install_ckanext-archiver]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-importlib]/Exec[pip_install_ckanext-importlib]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-harvest]/Exec[pip_install_ckanext-harvest]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Dgu_ckan::Pip_package[ckanext-datapreview]/Exec[pip_install_ckanext-datapreview]/returns: executed successfully
notice: /Stage[main]/Dgu_ckan/Exec[setup_virtualenv_permissions]: Dependency Exec[pip_install_ckan] has failures: true
warning: /Stage[main]/Dgu_ckan/Exec[setup_virtualenv_permissions]: Skipping because of failed dependencies
notice: /Stage[main]/Dgu_ckan/Exec[setup_virtualenv_permissions]: Triggered 'refresh' from 87 events
notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_dgu]: Dependency Exec[pip_install_ckan] has failures: true
warning: /Stage[main]/Dgu_ckan/Exec[npm_deps_dgu]: Skipping because of failed dependencies
notice: /Stage[main]/Dgu_ckan/Exec[grunt_dgu]: Dependency Exec[pip_install_ckan] has failures: true
warning: /Stage[main]/Dgu_ckan/Exec[grunt_dgu]: Skipping because of failed dependencies
notice: /Stage[main]/Dgu_ckan/Notify[virtualenv_ready]: Dependency Exec[pip_install_ckan] has failures: true
warning: /Stage[main]/Dgu_ckan/Notify[virtualenv_ready]: Skipping because of failed dependencies
notice: /Stage[main]/Dgu_ckan/Exec[paster db init]: Dependency Exec[pip_install_ckan] has failures: true
notice: /Stage[main]/Dgu_ckan/Exec[paster db init]: Dependency Exec[createdb postgis_template] has failures: true
warning: /Stage[main]/Dgu_ckan/Exec[paster db init]: Skipping because of failed dependencies
notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns: Traceback (most recent call last):
notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:   File "/home/co/ckan/bin/paster", line 9, in <module>
notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:     load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:   File "/home/co/ckan/local/lib/python2.7/site-packages/paste/script/command.py", line 93, in run
notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:     commands = get_commands()
notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:   File "/home/co/ckan/local/lib/python2.7/site-packages/paste/script/command.py", line 135, in get_commands
notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:     plugins = pluginlib.resolve_plugins(plugins)
notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:   File "/home/co/ckan/local/lib/python2.7/site-packages/paste/script/pluginlib.py", line 82, in resolve_plugins
notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:     pkg_resources.require(plugin)
notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:   File "/home/co/ckan/local/lib/python2.7/site-packages/pkg_resources.py", line 728, in require
notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:     needed = self.resolve(parse_requirements(requirements))
notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:   File "/home/co/ckan/local/lib/python2.7/site-packages/pkg_resources.py", line 622, in resolve
notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns:     raise DistributionNotFound(req)
notice: /Stage[main]/Dgu_ckan/Exec[paster db init]/returns: pkg_resources.DistributionNotFound: Not Found: ckan (did you run python setup.py develop?)
err: /Stage[main]/Dgu_ckan/Exec[paster db init]: Failed to call refresh: /home/co/ckan/bin/paster --plugin=ckan db init --config=/var/ckan/ckan.ini returned 1 instead of one of [0] at /etc/puppet/modules/dgu_ckan/manifests/init.pp:313
notice: /Stage[main]/Dgu_ckan/Exec[paster archiver init]: Dependency Exec[pip_install_ckan] has failures: true
notice: /Stage[main]/Dgu_ckan/Exec[paster archiver init]: Dependency Exec[createdb postgis_template] has failures: true
warning: /Stage[main]/Dgu_ckan/Exec[paster archiver init]: Skipping because of failed dependencies
notice: /Stage[main]/Dgu_ckan/Exec[paster inventory init]: Dependency Exec[pip_install_ckan] has failures: true
notice: /Stage[main]/Dgu_ckan/Exec[paster inventory init]: Dependency Exec[createdb postgis_template] has failures: true
warning: /Stage[main]/Dgu_ckan/Exec[paster inventory init]: Skipping because of failed dependencies
notice: /Stage[main]/Dgu_ckan/Exec[paster qa init]: Dependency Exec[pip_install_ckan] has failures: true
notice: /Stage[main]/Dgu_ckan/Exec[paster qa init]: Dependency Exec[createdb postgis_template] has failures: true
warning: /Stage[main]/Dgu_ckan/Exec[paster qa init]: Skipping because of failed dependencies
notice: /Stage[main]/Dgu_ckan/Exec[paster dgu_local init]: Dependency Exec[pip_install_ckan] has failures: true
notice: /Stage[main]/Dgu_ckan/Exec[paster dgu_local init]: Dependency Exec[createdb postgis_template] has failures: true
warning: /Stage[main]/Dgu_ckan/Exec[paster dgu_local init]: Skipping because of failed dependencies
notice: /Stage[main]/Dgu_ckan/Exec[paster ga_reports init]: Dependency Exec[pip_install_ckan] has failures: true
notice: /Stage[main]/Dgu_ckan/Exec[paster ga_reports init]: Dependency Exec[createdb postgis_template] has failures: true
warning: /Stage[main]/Dgu_ckan/Exec[paster ga_reports init]: Skipping because of failed dependencies
notice: /Stage[main]/Dgu_ckan/Notify[db_ready]: Dependency Exec[pip_install_ckan] has failures: true
notice: /Stage[main]/Dgu_ckan/Notify[db_ready]: Dependency Exec[createdb postgis_template] has failures: true
warning: /Stage[main]/Dgu_ckan/Notify[db_ready]: Skipping because of failed dependencies
notice: /Stage[main]/Dgu_ckan/Exec[a2ensite ckan.conf]: Dependency Exec[pip_install_ckan] has failures: true
notice: /Stage[main]/Dgu_ckan/Exec[a2ensite ckan.conf]: Dependency Service[jetty] has failures: true
notice: /Stage[main]/Dgu_ckan/Exec[a2ensite ckan.conf]: Dependency Exec[createdb postgis_template] has failures: true
warning: /Stage[main]/Dgu_ckan/Exec[a2ensite ckan.conf]: Skipping because of failed dependencies
notice: /Stage[main]/Dgu_ckan/Exec[a2ensite ckan.conf]: Triggered 'refresh' from 1 events
notice: Finished catalog run in 2816.74 seconds

Stderr from the command:

stdin: is not a tty

laurikoobas@LAURIKOOBAS-PC /C/Users/laurikoobas/VagrantVMs/dgu2/dgu-vagrant-puppet (togo)
$
davidread commented 10 years ago

==> default: err: /Stage[main]/Dgu_ckan/File[/vagrant/src/ckan/ckan.ini]/ensure: change from absent to link failed: Could not set 'link on ensure: Protocol error - /var/ckan/ckan.ini or /vagrant/src/ckan/ckan.ini at /etc/puppet/modules/dgu_ckan/manifests/init.pp:219

This first error message is being unable to make a symbolic link to ckan.ini and it appears to be due to a problem with Virtualbox running on Windows. There is discussion here: http://stackoverflow.com/questions/24200333/symbolic-links-and-synced-folders-in-vagrant and here: https://www.virtualbox.org/ticket/10085#comment:12 . You could try running the Windows prompt as Administrator. But I think you would be better off with a host running Linux or OSX.

==> default: err: /Stage[main]/Dgu_ckan/Service[jetty]/ensure: change from stopped to running failed: Could not start Service[jetty]: Execution of '/etc/init.d/jetty start' returned 127: at /etc/puppet/modules/dgu_ckan/manifests/init.pp:473

The next error is not due to the first error. It says the Java Jetty container won't start. I can't find anything about error 127. Maybe it's a Windows thing again - I don't have much guess.

==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! { [Error: EPERM, open '/src/shared_dguk_assets/node_modules/grunt-contrib-less/node_modules/less/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/t ==> default: notice: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: npm ERR! Please try running this command again as root/Administrator. ==> default: err: /Stage[main]/Dgu_ckan/Exec[npm_deps_shared]/returns: change from notrun to 0 failed: sudo npm install returned 50 instead of one of [0] at /etc/puppet/modules/dgu_ckan/manifests/init.pp:597

Again this doesn't rely on the previous failed steps. It's a permissions problem again, and might be to do with the symbolic link thing.

I'm sorry I can't help more. I've included the output I get here: https://gist.github.com/davidread/11fafa9d5716766dd053