Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nodejs-deps:
- pkg.installed:
- - names:
- - g++
- - curl
- - libssl-dev
- - apache2-utils
- require:
- - pkg: git
- nodejs-source:
- git.latest:
- - target: /usr/src/nodejs
- - name: git://github.com/joyent/node.git
- - rev: master
- require:
- - pkg: git
- nodejs-install:
- cmd.run:
- - cwd: /usr/src/nodejs
- - name: ./configure && make && make install
- - unless: if [ -z $(node --version) ];
- - require:
- - git: nodejs-source
- - pkg: nodejs-deps
- #npm:
- # pkg:
- # - installed
- root@precise64:~# salt-call state.template '/srv/salt/nodejs/init.sls'
- [INFO ] Loading fresh modules for state activity
- [INFO ] Running state [git://github.com/joyent/node.git] at time 20:55:37.761974
- [ERROR ] Specified state git.latest is unavailable.
- [INFO ] Running state [apache2-utils] at time 20:55:37.762903
- [INFO ] Executing state pkg.installed for apache2-utils
- [INFO ] Executing command "dpkg-query --showformat='${Status} ${Package} ${Version} ${Architecture}\n' -W" in directory '/root'
- [INFO ] Package apache2-utils is already installed
- [INFO ] Completed state [apache2-utils] at time 20:55:38.431877
- [INFO ] Running state [curl] at time 20:55:38.432611
- [INFO ] Executing state pkg.installed for curl
- [INFO ] Package curl is already installed
- [INFO ] Completed state [curl] at time 20:55:38.434593
- [INFO ] Running state [g++] at time 20:55:38.435013
- [INFO ] Executing state pkg.installed for g++
- [INFO ] Package g++ is already installed
- [INFO ] Completed state [g++] at time 20:55:38.437011
- [INFO ] Running state [libssl-dev] at time 20:55:38.437447
- [INFO ] Executing state pkg.installed for libssl-dev
- [INFO ] Package libssl-dev is already installed
- [INFO ] Completed state [libssl-dev] at time 20:55:38.439518
- local:
- ----------
- cmd_|-nodejs-install_|-./configure && make && make install_|-run:
- ----------
- __run_num__:
- 5
- changes:
- ----------
- comment:
- One or more requisite failed
- result:
- False
- git_|-nodejs-source_|-git://github.com/joyent/node.git_|-latest:
- ----------
- __run_num__:
- 0
- changes:
- ----------
- comment:
- Specified state git.latest is unavailable.
- name:
- git://github.com/joyent/node.git
- result:
- False
- pkg_|-nodejs-deps_|-apache2-utils_|-installed:
- ----------
- __run_num__:
- 1
- changes:
- ----------
- comment:
- Package apache2-utils is already installed
- name:
- apache2-utils
- result:
- True
- pkg_|-nodejs-deps_|-curl_|-installed:
- ----------
- __run_num__:
- 2
- changes:
- ----------
- comment:
- Package curl is already installed
- name:
- curl
- result:
- True
- pkg_|-nodejs-deps_|-g++_|-installed:
- ----------
- __run_num__:
- 3
- changes:
- ----------
- comment:
- Package g++ is already installed
- name:
- g++
- result:
- True
- pkg_|-nodejs-deps_|-libssl-dev_|-installed:
- ----------
- __run_num__:
- 4
- changes:
- ----------
- comment:
- Package libssl-dev is already installed
- name:
- libssl-dev
- result:
- True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement