require删除指定后,salt安装仍然报指定需求没有找到

salt安装源码PHP 报错如下:             ID: php-source-install     Function: cmd.run         Name: cd /usr/local/src && tar zxf php-5.6.9.tar.gz && cd php-5.6.9&&  ./configure --prefix=/usr/local/php-fastcgi --with-pdo-mysql=mysqlnd --with-mysqli=mysqlnd --with-mysql=mysqlnd --with-jpeg-dir --with-png-dir --with-zlib --enable-xml  --with-libxml-dir --with-curl --enable-bcmath --enable-shmop --enable-sysvsem  --enable-inline-optimization --enable-mbregex --with-openssl --enable-mbstring --with-gd --enable-gd-native-ttf --with-freetype-dir=/usr/lib64 --with-gettext=/usr/lib64 --enable-sockets --with-xmlrpc --enable-zip --enable-soap --disable-debug --enable-opcache --enable-zip --with-config-file-path=/usr/local/php-fastcgi/etc --enable-fpm --with-fpm-user=www --with-fpm-group=www && make && make install       Result: False [quote]      Comment: The following requisites were not found:                                  require:                                      user: www-user-group [/quote]      Started:      Duration:       Changes:    执行文件如下:          php-source-install:   file.managed:     - name: /usr/local/src/php-5.6.9.tar.gz     - source: salt://php/files/php-5.6.9.tar.gz     - user: www     - group: root     - mode: 755   cmd.run:     - name: cd /usr/local/src && tar zxf php-5.6.9.tar.gz && cd php-5.6.9&&  ./configure --prefix=/usr/local/php-fastcgi --with-pdo-mysql=mysqlnd --with-mysqli=mysqlnd --with-mysql=mysqlnd --with-jpeg-dir --with-png-dir --with-zlib --enable-xml  --with-libxml-dir --with-curl --enable-bcmath --enable-shmop --enable-sysvsem  --enable-inline-optimization --enable-mbregex --with-openssl --enable-mbstring --with-gd --enable-gd-native-ttf --with-freetype-dir=/usr/lib64 --with-gettext=/usr/lib64 --enable-sockets --with-xmlrpc --enable-zip --enable-soap --disable-debug --enable-opcache --enable-zip --with-config-file-path=/usr/local/php-fastcgi/etc --enable-fpm --with-fpm-user=www --with-fpm-group=www && make && make install     - require:       - file: php-source-install     - unless: test -d /usr/local/php-fastcgi    已经删除了require下的user选项,执行仍然报错,重启salt-master无用         
已邀请:

走在路上的人 - 厚积薄发

然后还想请问 -user是指定用户 如不存在是否会自动创建?

要回复问题请先登录注册