Мой хозяин марионетки имеет код, как показано ниже
vcsrepo {'/var/www/html':
ensure => 'present',
provider => 'git',
source => "https://github.com/wikimedia/mediawiki.git",
revision => 'REL1_23',
}
file {'/var/www/html/index.html':
ensure => 'absent',
}
FILE['/var/www/html/index.html'] -> Vcsrepo['/var/www/html']
И я не могу выполнить git выполнить фиксацию при запуске марионеточного агента, как показано ниже
puppet agent --debug --verbose --no-daemonize --onetime
И я получаю ошибку ниже
Notice: /Stage[main]/Apache/Apache::Vhost[default]/File[/var/www/html]/ensure: created
Debug: /Stage[main]/Apache/Apache::Vhost[default]/File[/var/www/html]: The container Apache::Vhost[default] will propagate my refresh event
Debug: /File[/etc/httpd/conf.d/15-default.conf]/seluser: Found seluser default 'system_u' for /etc/httpd/conf.d/15-default.conf
Debug: /File[/etc/httpd/conf.d/15-default.conf]/selrole: Found selrole default 'object_r' for /etc/httpd/conf.d/15-default.conf
Debug: /File[/etc/httpd/conf.d/15-default.conf]/seltype: Found seltype default 'httpd_config_t' for /etc/httpd/conf.d/15-default.conf
Debug: /File[/etc/httpd/conf.d/15-default.conf]/selrange: Found selrange default 's0' for /etc/httpd/conf.d/15-default.conf
Debug: /Stage[main]/Mediawiki/File[/var/www/html/index.html]: Nothing to manage: no ensure and the resource doesn't exist
Debug: Executing '/usr/local/bin/git clone https://github.com/wikimedia/mediawiki.git /var/www/html'
Error: Execution of '/usr/local/bin/git clone https://github.com/wikimedia/mediawiki.git /var/www/html' returned 128: Cloning into '/var/www/html'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Error: /Stage[main]/Mediawiki/Vcsrepo[/var/www/html]/ensure: change from absent to present failed: Execution of '/usr/local/bin/git clone https://github.com/wikimedia/mediawiki.git /var/www/html' returned 128: Cloning into '/var/www/html'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Странная вещь -
/Stage[main]/Apache/Apache::Vhost[default]/File[/var/www/html]/ensure: created
и
Error: /Stage[main]/Mediawiki/Vcsrepo[/var/www/html]/ensure: change from absent to present failed
ਤੇ ਚੱਲ ਰਹੇ ਕਿਸੇ ਵੀ ਪ੍ਰੋਗਰਾਮ / ਸਕ੍ਰਿਪਟ ਲਈ ਕੰਮ ਕਰੇਗਾ, ਇਸ ਲਈ ਮੇਰਾ ਖਿਆਲ ਹੈ ਕਿ ਵੱਡੀਆਂ ਫਾਈਲਾਂ ਡਾingਨਲੋਡ ਕਰਨ ਵੇਲੇ ਮੇਰਾ ਵੀ ਐਮ ਨੈੱਟਵਰਕ ਹੌਲੀ ਹੌਲੀ ਹੌਲੀ ਹੋ ਰਿਹਾ ਹੈ.
ਇਸ ਲਈ ਮੈਂ ਇਕ ਹੋਰ ਟੈਬ ਖੋਲ੍ਹ ਦਿੱਤੀ ਹੈ ਅਤੇ ਪਿੰਗ google.com ਰੱਖੀ ਹੈ
ਅਤੇ ਚਲਾਇਆ ਹੈ
git config --global http.postBuffer 524288000
ਟਰਮੀਨਲ ਵਿੱਚ ਅਤੇ ਫਿਰ ਚੈਕਆਉਟ ਸ਼ੁਰੂ ਕੀਤਾ ਅਤੇ ਇਹ ਠੀਕ ਹੋ ਗਿਆ.
ਇਸ ਨੂੰ ਜਵਾਬ ਦੇ ਤੌਰ ਤੇ ਸ਼ਾਮਲ ਕਰਨਾ, ਉਮੀਦ ਹੈ ਕਿ ਇਹ ਮੇਰੀ ਉਸ ਵਿਅਕਤੀ ਦੀ ਸਹਾਇਤਾ ਕਰੇਗਾ ਜੋ ਮੇਰੇ ਵਰਗਾ ਵਾਤਾਵਰਣ ਚਲਾ ਰਹੇ ਹਨ.
ਤੁਹਾਡਾ ਧੰਨਵਾਦ.