Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mark@zoneminder:~$ sudo apt-get update && sudo apt-get install puppet git-core -y
- [sudo] password for mark:
- Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B]
- Hit http://gb.archive.ubuntu.com precise Release.gpg
- Get:2 http://gb.archive.ubuntu.com precise-updates Release.gpg [198 B]
- Hit http://gb.archive.ubuntu.com precise-backports Release.gpg
- Get:3 http://security.ubuntu.com precise-security Release [49.6 kB]
- Hit http://gb.archive.ubuntu.com precise Release
- Get:4 http://gb.archive.ubuntu.com precise-updates Release [49.6 kB]
- Get:5 http://security.ubuntu.com precise-security/main Sources [91.7 kB]
- Hit http://gb.archive.ubuntu.com precise-backports Release
- Hit http://gb.archive.ubuntu.com precise/main Sources
- Hit http://gb.archive.ubuntu.com precise/restricted Sources
- Hit http://gb.archive.ubuntu.com precise/universe Sources
- Hit http://gb.archive.ubuntu.com precise/multiverse Sources
- Hit http://gb.archive.ubuntu.com precise/main amd64 Packages
- Hit http://gb.archive.ubuntu.com precise/restricted amd64 Packages
- Hit http://gb.archive.ubuntu.com precise/universe amd64 Packages
- Hit http://gb.archive.ubuntu.com precise/multiverse amd64 Packages
- Hit http://gb.archive.ubuntu.com precise/main i386 Packages
- Hit http://gb.archive.ubuntu.com precise/restricted i386 Packages
- Get:6 http://security.ubuntu.com precise-security/restricted Sources [2,494 B]
- Get:7 http://security.ubuntu.com precise-security/universe Sources [28.4 kB]
- Get:8 http://security.ubuntu.com precise-security/multiverse Sources [1,804 B]
- Get:9 http://security.ubuntu.com precise-security/main amd64 Packages [333 kB]
- Hit http://gb.archive.ubuntu.com precise/universe i386 Packages
- Hit http://gb.archive.ubuntu.com precise/multiverse i386 Packages
- Hit http://gb.archive.ubuntu.com precise/main TranslationIndex
- Hit http://gb.archive.ubuntu.com precise/multiverse TranslationIndex
- Hit http://gb.archive.ubuntu.com precise/restricted TranslationIndex
- Hit http://gb.archive.ubuntu.com precise/universe TranslationIndex
- Get:10 http://gb.archive.ubuntu.com precise-updates/main Sources [422 kB]
- Get:11 http://security.ubuntu.com precise-security/restricted amd64 Packages [4,627 B]
- Get:12 http://security.ubuntu.com precise-security/universe amd64 Packages [83.3 kB]
- Get:13 http://security.ubuntu.com precise-security/multiverse amd64 Packages [2,449 B]
- Get:14 http://security.ubuntu.com precise-security/main i386 Packages [353 kB]
- Get:15 http://security.ubuntu.com precise-security/restricted i386 Packages [4,620 B]
- Get:16 http://security.ubuntu.com precise-security/universe i386 Packages [87.1 kB]
- Get:17 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,640 B]
- Hit http://security.ubuntu.com precise-security/main TranslationIndex
- Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
- Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
- Hit http://security.ubuntu.com precise-security/universe TranslationIndex
- Hit http://security.ubuntu.com precise-security/main Translation-en
- Hit http://security.ubuntu.com precise-security/multiverse Translation-en
- Hit http://security.ubuntu.com precise-security/restricted Translation-en
- Hit http://security.ubuntu.com precise-security/universe Translation-en
- Get:18 http://gb.archive.ubuntu.com precise-updates/restricted Sources [7,006 B]
- Get:19 http://gb.archive.ubuntu.com precise-updates/universe Sources [98.0 kB]
- Get:20 http://gb.archive.ubuntu.com precise-updates/multiverse Sources [8,343 B]
- Get:21 http://gb.archive.ubuntu.com precise-updates/main amd64 Packages [700 kB]
- Get:22 http://gb.archive.ubuntu.com precise-updates/restricted amd64 Packages [11.5 kB]
- Get:23 http://gb.archive.ubuntu.com precise-updates/universe amd64 Packages [220 kB]
- Get:24 http://gb.archive.ubuntu.com precise-updates/multiverse amd64 Packages [13.9 kB]
- Get:25 http://gb.archive.ubuntu.com precise-updates/main i386 Packages [722 kB]
- Get:26 http://gb.archive.ubuntu.com precise-updates/restricted i386 Packages [11.4 kB]
- Get:27 http://gb.archive.ubuntu.com precise-updates/universe i386 Packages [224 kB]
- Get:28 http://gb.archive.ubuntu.com precise-updates/multiverse i386 Packages [14.0 kB]
- Hit http://gb.archive.ubuntu.com precise-updates/main TranslationIndex
- Hit http://gb.archive.ubuntu.com precise-updates/multiverse TranslationIndex
- Hit http://gb.archive.ubuntu.com precise-updates/restricted TranslationIndex
- Hit http://gb.archive.ubuntu.com precise-updates/universe TranslationIndex
- Hit http://gb.archive.ubuntu.com precise-backports/main Sources
- Hit http://gb.archive.ubuntu.com precise-backports/restricted Sources
- Hit http://gb.archive.ubuntu.com precise-backports/universe Sources
- Hit http://gb.archive.ubuntu.com precise-backports/multiverse Sources
- Hit http://gb.archive.ubuntu.com precise-backports/main amd64 Packages
- Hit http://gb.archive.ubuntu.com precise-backports/restricted amd64 Packages
- Hit http://gb.archive.ubuntu.com precise-backports/universe amd64 Packages
- Hit http://gb.archive.ubuntu.com precise-backports/multiverse amd64 Packages
- Hit http://gb.archive.ubuntu.com precise-backports/main i386 Packages
- Hit http://gb.archive.ubuntu.com precise-backports/restricted i386 Packages
- Hit http://gb.archive.ubuntu.com precise-backports/universe i386 Packages
- Hit http://gb.archive.ubuntu.com precise-backports/multiverse i386 Packages
- Hit http://gb.archive.ubuntu.com precise-backports/main TranslationIndex
- Hit http://gb.archive.ubuntu.com precise-backports/multiverse TranslationIndex
- Hit http://gb.archive.ubuntu.com precise-backports/restricted TranslationIndex
- Hit http://gb.archive.ubuntu.com precise-backports/universe TranslationIndex
- Hit http://gb.archive.ubuntu.com precise/main Translation-en_GB
- Hit http://gb.archive.ubuntu.com precise/main Translation-en
- Hit http://gb.archive.ubuntu.com precise/multiverse Translation-en_GB
- Hit http://gb.archive.ubuntu.com precise/multiverse Translation-en
- Hit http://gb.archive.ubuntu.com precise/restricted Translation-en_GB
- Hit http://gb.archive.ubuntu.com precise/restricted Translation-en
- Hit http://gb.archive.ubuntu.com precise/universe Translation-en_GB
- Hit http://gb.archive.ubuntu.com precise/universe Translation-en
- Hit http://gb.archive.ubuntu.com precise-updates/main Translation-en_GB
- Hit http://gb.archive.ubuntu.com precise-updates/main Translation-en
- Hit http://gb.archive.ubuntu.com precise-updates/multiverse Translation-en_GB
- Hit http://gb.archive.ubuntu.com precise-updates/multiverse Translation-en
- Hit http://gb.archive.ubuntu.com precise-updates/restricted Translation-en_GB
- Hit http://gb.archive.ubuntu.com precise-updates/restricted Translation-en
- Hit http://gb.archive.ubuntu.com precise-updates/universe Translation-en_GB
- Hit http://gb.archive.ubuntu.com precise-updates/universe Translation-en
- Hit http://gb.archive.ubuntu.com precise-backports/main Translation-en
- Hit http://gb.archive.ubuntu.com precise-backports/multiverse Translation-en
- Hit http://gb.archive.ubuntu.com precise-backports/restricted Translation-en
- Hit http://gb.archive.ubuntu.com precise-backports/universe Translation-en
- Fetched 3,547 kB in 12s (282 kB/s)
- Reading package lists... Done
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following extra packages will be installed:
- augeas-lenses debconf-utils facter git git-man libaugeas-ruby1.8 libaugeas0
- liberror-perl libreadline5 libruby libruby1.8 libshadow-ruby1.8
- puppet-common ruby ruby1.8
- Suggested packages:
- augeas-doc ruby-json git-daemon-run git-daemon-sysvinit git-doc git-el
- git-arch git-cvs git-svn git-email git-gui gitk gitweb augeas-tools
- puppet-el vim-puppet etckeeper ruby-selinux libselinux-ruby1.8
- librrd-ruby1.8 ri ruby-dev ruby1.8-examples ri1.8
- Recommended packages:
- rdoc
- The following NEW packages will be installed
- augeas-lenses debconf-utils facter git git-core git-man libaugeas-ruby1.8
- libaugeas0 liberror-perl libreadline5 libruby libruby1.8 libshadow-ruby1.8
- puppet puppet-common ruby ruby1.8
- 0 upgraded, 17 newly installed, 0 to remove and 67 not upgraded.
- Need to get 9,963 kB of archives.
- After this operation, 27.8 MB of additional disk space will be used.
- Get:1 http://gb.archive.ubuntu.com/ubuntu/ precise/main libreadline5 amd64 5.2-11 [128 kB]
- Get:2 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main libruby1.8 amd64 1.8.7.352-2ubuntu1.3 [1,797 kB]
- Get:3 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main ruby1.8 amd64 1.8.7.352-2ubuntu1.3 [33.9 kB]
- Get:4 http://gb.archive.ubuntu.com/ubuntu/ precise/main libruby all 4.8 [4,766 B]
- Get:5 http://gb.archive.ubuntu.com/ubuntu/ precise/main libshadow-ruby1.8 amd64 1.4.1-8build1 [9,416 B]
- Get:6 http://gb.archive.ubuntu.com/ubuntu/ precise/main augeas-lenses all 0.10.0-0ubuntu4 [175 kB]
- Get:7 http://gb.archive.ubuntu.com/ubuntu/ precise/main libaugeas0 amd64 0.10.0-0ubuntu4 [171 kB]
- Get:8 http://gb.archive.ubuntu.com/ubuntu/ precise/main libaugeas-ruby1.8 amd64 0.3.0-1.1ubuntu4 [9,642 B]
- Get:9 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main facter all 1.6.5-1ubuntu1.2 [45.3 kB]
- Get:10 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main puppet-common all 2.7.11-1ubuntu2.4 [766 kB]
- Get:11 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main puppet all 2.7.11-1ubuntu2.4 [20.1 kB]
- Get:12 http://gb.archive.ubuntu.com/ubuntu/ precise/main debconf-utils all 1.5.42ubuntu1 [54.9 kB]
- Get:13 http://gb.archive.ubuntu.com/ubuntu/ precise/main liberror-perl all 0.17-1 [23.8 kB]
- Get:14 http://gb.archive.ubuntu.com/ubuntu/ precise/main git-man all 1:1.7.9.5-1 [630 kB]
- Get:15 http://gb.archive.ubuntu.com/ubuntu/ precise/main git amd64 1:1.7.9.5-1 [6,087 kB]
- Get:16 http://gb.archive.ubuntu.com/ubuntu/ precise/main git-core all 1:1.7.9.5-1 [1,384 B]
- Get:17 http://gb.archive.ubuntu.com/ubuntu/ precise/main ruby all 4.8 [5,054 B]
- Fetched 9,963 kB in 38s (256 kB/s)
- Selecting previously unselected package libreadline5.
- (Reading database ... 51997 files and directories currently installed.)
- Unpacking libreadline5 (from .../libreadline5_5.2-11_amd64.deb) ...
- Selecting previously unselected package libruby1.8.
- Unpacking libruby1.8 (from .../libruby1.8_1.8.7.352-2ubuntu1.3_amd64.deb) ...
- Selecting previously unselected package ruby1.8.
- Unpacking ruby1.8 (from .../ruby1.8_1.8.7.352-2ubuntu1.3_amd64.deb) ...
- Selecting previously unselected package libruby.
- Unpacking libruby (from .../archives/libruby_4.8_all.deb) ...
- Selecting previously unselected package libshadow-ruby1.8.
- Unpacking libshadow-ruby1.8 (from .../libshadow-ruby1.8_1.4.1-8build1_amd64.deb) ...
- Selecting previously unselected package augeas-lenses.
- Unpacking augeas-lenses (from .../augeas-lenses_0.10.0-0ubuntu4_all.deb) ...
- Selecting previously unselected package libaugeas0.
- Unpacking libaugeas0 (from .../libaugeas0_0.10.0-0ubuntu4_amd64.deb) ...
- Selecting previously unselected package libaugeas-ruby1.8.
- Unpacking libaugeas-ruby1.8 (from .../libaugeas-ruby1.8_0.3.0-1.1ubuntu4_amd64.deb) ...
- Selecting previously unselected package facter.
- Unpacking facter (from .../facter_1.6.5-1ubuntu1.2_all.deb) ...
- Selecting previously unselected package puppet-common.
- Unpacking puppet-common (from .../puppet-common_2.7.11-1ubuntu2.4_all.deb) ...
- Selecting previously unselected package puppet.
- Unpacking puppet (from .../puppet_2.7.11-1ubuntu2.4_all.deb) ...
- Selecting previously unselected package debconf-utils.
- Unpacking debconf-utils (from .../debconf-utils_1.5.42ubuntu1_all.deb) ...
- Selecting previously unselected package liberror-perl.
- Unpacking liberror-perl (from .../liberror-perl_0.17-1_all.deb) ...
- Selecting previously unselected package git-man.
- Unpacking git-man (from .../git-man_1%3a1.7.9.5-1_all.deb) ...
- Selecting previously unselected package git.
- Unpacking git (from .../git_1%3a1.7.9.5-1_amd64.deb) ...
- Selecting previously unselected package git-core.
- Unpacking git-core (from .../git-core_1%3a1.7.9.5-1_all.deb) ...
- Selecting previously unselected package ruby.
- Unpacking ruby (from .../apt/archives/ruby_4.8_all.deb) ...
- Processing triggers for man-db ...
- Processing triggers for ureadahead ...
- Setting up libreadline5 (5.2-11) ...
- Setting up libruby1.8 (1.8.7.352-2ubuntu1.3) ...
- Setting up ruby1.8 (1.8.7.352-2ubuntu1.3) ...
- update-alternatives: using /usr/bin/ruby1.8 to provide /usr/bin/ruby (ruby) in auto mode.
- Setting up libruby (4.8) ...
- Setting up libshadow-ruby1.8 (1.4.1-8build1) ...
- Setting up augeas-lenses (0.10.0-0ubuntu4) ...
- Setting up libaugeas0 (0.10.0-0ubuntu4) ...
- Setting up libaugeas-ruby1.8 (0.3.0-1.1ubuntu4) ...
- Setting up facter (1.6.5-1ubuntu1.2) ...
- Setting up puppet-common (2.7.11-1ubuntu2.4) ...
- Setting up puppet (2.7.11-1ubuntu2.4) ...
- * Starting puppet agent
- puppet not configured to start, please edit /etc/default/puppet to enable
- [ OK ]
- Setting up debconf-utils (1.5.42ubuntu1) ...
- Setting up liberror-perl (0.17-1) ...
- Setting up git-man (1:1.7.9.5-1) ...
- Setting up git (1:1.7.9.5-1) ...
- Setting up git-core (1:1.7.9.5-1) ...
- Setting up ruby (4.8) ...
- Processing triggers for libc-bin ...
- ldconfig deferred processing now taking place
- mark@zoneminder:~$ git clone git://github.com/kylejohnson/puppet-zoneminder.git zoneminder
- Cloning into 'zoneminder'...
- remote: Counting objects: 259, done.
- remote: Compressing objects: 100% (158/158), done.
- remote: Total 259 (delta 101), reused 245 (delta 90)
- Receiving objects: 100% (259/259), 1.10 MiB | 357 KiB/s, done.
- Resolving deltas: 100% (101/101), done.
- mark@zoneminder:~$ sudo puppet apply --verbose --modulepath=`pwd` -e 'include zoneminder'
- warning: Could not retrieve fact fqdn
- info: Applying configuration version '1382466293'
- notice: /Stage[main]/Zoneminder::Config/File[/etc/ld.so.conf.d/zoneminder.conf]/ensure: defined content as '{md5}9d932ad0f2270b481cc6bbeb3ba792c6'
- info: /Stage[main]/Zoneminder::Config/File[/etc/ld.so.conf.d/zoneminder.conf]: Scheduling refresh of Exec[ldconfig]
- notice: /Stage[main]/Zoneminder::Install/Package[subversion]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Install/Package[build-essential]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Install/Package[libarchive-zip-perl]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Install/Package[yasm]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Install/Package[libmime-perl]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Install/Package[php5]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Install/Package[libmysqlclient-dev]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Install/Package[libssl-dev]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Install/Package[libvorbis-dev]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Install/Package[libvpx-dev]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Install/Package[libdevice-serialport-perl]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Install/Package[libjpeg-turbo8]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Install/Package[libsys-mmap-perl]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Install/Package[automake]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Install/Package[libjpeg-turbo8-dev]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Install/Package[libx264-dev]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Install/Package[libdate-manip-perl]/ensure: ensure changed 'purged' to 'present'
- info: FileBucket adding {md5}b38ca5a963f52930ede3f4e1958f3275
- info: /Stage[main]/Zoneminder::Config/File[/etc/apache2/sites-enabled/000-default]: Filebucketed /etc/apache2/sites-enabled/000-default to puppet with sum b38ca5a963f52930ede3f4e1958f3275
- notice: /Stage[main]/Zoneminder::Config/File[/etc/apache2/sites-enabled/000-default]/ensure: defined content as '{md5}fa5e21f66fb9483d4baadba033fa37e9'
- notice: /Stage[main]/Zoneminder::Install/Package[libwww-perl]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Install/Package[libbz2-dev]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Install/Package[libtheora-dev]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Install/Package[libpcre3-dev]/ensure: ensure changed 'purged' to 'present'
- notice: /Stage[main]/Zoneminder::Config/File[/var/www/zm]/ensure: created
- notice: /Stage[main]/Zoneminder::Install::Ffmpeg/Exec[clone-ffmpeg]/returns: executed successfully
- notice: /Stage[main]/Zoneminder::Install::Ffmpeg/Exec[configure-ffmpeg]/returns: executed successfully
- info: /Stage[main]/Zoneminder::Install::Ffmpeg/Exec[configure-ffmpeg]: Scheduling refresh of Exec[make-ffmpeg]
- notice: /Stage[main]/Zoneminder::Install::Ffmpeg/Exec[make-ffmpeg]: Triggered 'refresh' from 1 events
- info: /Stage[main]/Zoneminder::Install::Ffmpeg/Exec[make-ffmpeg]: Scheduling refresh of Exec[make-install-ffmpeg]
- notice: /Stage[main]/Zoneminder::Install::Ffmpeg/Exec[make-install-ffmpeg]: Triggered 'refresh' from 1 events
- info: /Stage[main]/Zoneminder::Install::Ffmpeg/Exec[make-install-ffmpeg]: Scheduling refresh of Exec[make-install-libs-ffmpeg]
- notice: /Stage[main]/Zoneminder::Install::Ffmpeg/Exec[make-install-libs-ffmpeg]: Triggered 'refresh' from 1 events
- notice: /Stage[main]/Zoneminder::Install::Zoneminder/Exec[clone-zoneminder]/returns: executed successfully
- notice: /Stage[main]/Zoneminder::Install::Zoneminder/File[/usr/local/src/zoneminder/configure.sh]/ensure: defined content as '{md5}e76b96210e8f75f3cb0db5791d6d6a7c'
- notice: /Stage[main]/Zoneminder::Install::Zoneminder/Exec[configure-zm]/returns: executed successfully
- info: /Stage[main]/Zoneminder::Install::Zoneminder/Exec[configure-zm]: Scheduling refresh of Exec[make-zm]
- notice: /Stage[main]/Zoneminder::Install::Zoneminder/Exec[make-zm]: Triggered 'refresh' from 1 events
- info: /Stage[main]/Zoneminder::Install::Zoneminder/Exec[make-zm]: Scheduling refresh of Exec[make-install-zm]
- notice: /Stage[main]/Zoneminder::Install::Zoneminder/Exec[make-install-zm]: Triggered 'refresh' from 1 events
- info: /Stage[main]/Zoneminder::Install::Zoneminder/Exec[make-install-zm]: Scheduling refresh of Exec[ldconfig]
- info: /Stage[main]/Zoneminder::Install::Zoneminder/Exec[make-install-zm]: Scheduling refresh of Exec[create-schema]
- err: /Stage[main]/Zoneminder::Config/Exec[create-schema]: Failed to call refresh: mysql -u root < /usr/local/src/zoneminder/db/zm_create.sql returned 1 instead of one of [0] at /home/mark/zoneminder/manifests/config.pp:39
- notice: /Stage[main]/Zoneminder::Config/Exec[ldconfig]: Triggered 'refresh' from 2 events
- notice: /Stage[main]/Zoneminder::Config/File[/etc/init.d/zm]/ensure: defined content as '{md5}816718d8691479780e48b2749f80f028'
- info: Class[Zoneminder::Config]: Scheduling refresh of Service[apache2]
- info: Class[Zoneminder::Config]: Scheduling refresh of Service[zm]
- notice: /Stage[main]/Zoneminder::Service/Service[apache2]: Triggered 'refresh' from 1 events
- notice: /Stage[main]/Zoneminder::Service/Service[zm]/enable: enable changed 'false' to 'true'
- err: /Stage[main]/Zoneminder::Service/Service[zm]: Failed to call refresh: Could not restart Service[zm]: Execution of '/etc/init.d/zm restart' returned 255: at /home/mark/zoneminder/manifests/service.pp:10
- info: Creating state file /var/lib/puppet/state/state.yaml
- notice: Finished catalog run in 1108.69 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement