Not able to run the wsus client cookbook

is there an another way to do it?

On Thu, Dec 14, 2017 at 1:03 PM, Alvaro Miranda Aguilera <[email protected]>
wrote:

> yup thats how people do it.
>
> any issues? doesn't work?
>
> On Thu, Dec 14, 2017 at 7:08 PM, <[email protected]> wrote:
>
>> How do I do Windows update via amazon;ebs via WinRm? or any other way to
>> do updates. Really Stuck here
>>
>>
>> {
>>  "_comment": "This template is used to build a Dotnet core build server
>> AMI.",
>>
>>  "variables": {
>>       "aws_access_key": "AKIAJLHWXRUQRJ5F7CVA",
>>       "aws_secret_key": "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"
>> },
>>
>>  "builders": [
>>     {
>>       "type": "amazon-ebs",
>>       "region": "us-east-1",
>>       "source_ami": "ami-27a58d5c",
>>       "instance_type": "t2.medium",
>>       "ami_name": "CCP-DotNetCore-Build-Server-{{timestamp}}",
>>       "security_group_id": "sg-cb9b7eb5",
>>       "user_data_file": "{{template_dir}}/setup_winrm.ps1",
>>       "communicator": "winrm",
>>       "winrm_username": "Administrator",
>>       "winrm_use_ssl": true,
>>       "winrm_insecure": true,
>>       "access_key": "{{user `aws_access_key`}}",
>>       "secret_key": "{{user `aws_secret_key`}}",
>>       "vpc_id": "vpc-51c74037",
>>       "subnet_id": "subnet-13b09f5a",
>>       "associate_public_ip_address": true,
>>       "launch_block_device_mappings": [
>>         {
>>           "device_name": "/dev/sda1",
>>           "volume_size": 60,
>>           "volume_type": "gp2",
>>           "delete_on_termination": true
>>         }
>>       ]
>>     }
>>   ],
>>
>>  "provisioners": [
>>     {
>>       "type": "powershell",
>>       "script": "provision.ps1"
>>     },
>>     {
>>       "type": "file",
>>       "source": "/Users/ron.prince/work/workshop/cookbooks",
>>       "destination": "C:\\chef",
>>       "pause_before": "30s"
>>     },
>>     {
>>       "type": "powershell",
>>       "inline": ["dir c:\\chef\\cookbooks"],
>>       "pause_before": "10s"
>>     },
>>     {
>>       "type": "powershell",
>>       "script": "chef.ps1",
>>       "pause_before": "20s"
>>     },
>>     {
>>       "type": "powershell",
>>       "script": "windows-updates.ps1"
>>     },
>>     {
>>       "type": "windows-restart",
>>       "restart_timeout": "30m"
>>     }
>>   ]
>> }
>>
>> --
>> This mailing list is governed under the HashiCorp Community Guidelines -
>> https://www.hashicorp.com/community-guidelines.html. Behavior in
>> violation of those guidelines may result in your removal from this mailing
>> list.
>>
>> GitHub Issues: https://github.com/mitchellh/packer/issues
>> IRC: #packer-tool on Freenode
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Packer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/packer-tool/bc634f42-54ba-4746-bd65-224ccf9a5761%40googlegroups.com
>> <https://groups.google.com/d/msgid/packer-tool/bc634f42-54ba-4746-bd65-224ccf9a5761%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Alvaro
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Packer" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/packer-tool/1HSAMw9FOtg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/packer-tool/CAHqq0ez5-x4-CwOQaSn6XYs67iN3J4ZqaB7TQeaLub
> _5tq597A%40mail.gmail.com
> <https://groups.google.com/d/msgid/packer-tool/CAHqq0ez5-x4-CwOQaSn6XYs67iN3J4ZqaB7TQeaLub_5tq597A%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CAHRuRdwDt_KfUEbi43iun0e1PiEjU4zAgHw6uVsQiw%2B-PHYyqA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to