mirror of
				https://github.com/laurivosandi/certidude
				synced 2025-10-31 01:19:11 +00:00 
			
		
		
		
	cli: Fix certidude request dependency handling
				
					
				
			This commit is contained in:
		| @@ -91,9 +91,8 @@ def setup_client(prefix="client_", dh=False): | |||||||
| @click.option("-f", "--fork", default=False, is_flag=True, help="Fork to background") | @click.option("-f", "--fork", default=False, is_flag=True, help="Fork to background") | ||||||
| @click.option("-nw", "--no-wait", default=False, is_flag=True, help="Return immideately if server doesn't autosign") | @click.option("-nw", "--no-wait", default=False, is_flag=True, help="Return immideately if server doesn't autosign") | ||||||
| def certidude_request(fork, renew, no_wait, kerberos): | def certidude_request(fork, renew, no_wait, kerberos): | ||||||
|     # Here let's try to avoid compiling packages from scratch |  | ||||||
|     rpm("openssl") or \ |     rpm("openssl") or \ | ||||||
|     apt("openssl python-jinja2") or \ |     apt("openssl python-jinja2") | ||||||
|     pip("jinja2 oscrypto csrbuilder asn1crypto") |     pip("jinja2 oscrypto csrbuilder asn1crypto") | ||||||
|  |  | ||||||
|     import requests |     import requests | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user